Skip to content

Commit

Permalink
fix(big-number): Big Number with Trendline Chart is not working if Ti…
Browse files Browse the repository at this point in the history
…me 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.
  • Loading branch information
stephenLYZ committed Mar 7, 2022
1 parent b2ee13f commit c32eaf4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c32eaf4

Please sign in to comment.