mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month (#19043)
* fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month * use start frequency.
This commit is contained in:
@@ -33,9 +33,9 @@ const TIME_GRAIN_MAP: Record<string, string> = {
|
||||
PT30M: '30min',
|
||||
PT1H: 'H',
|
||||
P1D: 'D',
|
||||
P1M: 'M',
|
||||
P3M: 'Q',
|
||||
P1Y: 'A',
|
||||
P1M: 'MS',
|
||||
P3M: 'QS',
|
||||
P1Y: 'AS',
|
||||
// TODO: these need to be mapped carefully, as the first day of week
|
||||
// can vary from engine to engine
|
||||
// P1W: 'W',
|
||||
|
||||
Reference in New Issue
Block a user