charton API / @chart-on/core / index / SeasonalPosition
Interface: SeasonalPosition
Defined in: packages/core/src/seasonality/math.ts:89
Where a date falls in its window.
Properties
period
period:
number
Defined in: packages/core/src/seasonality/math.ts:92
Quarter (1-4) or month (1-12) of the date; 1 for a year window.
position
position:
number
Defined in: packages/core/src/seasonality/math.ts:94
Days since the window's first day, counted on a leap-year calendar: 1 March is the same position every year.
year
year:
number
Defined in: packages/core/src/seasonality/math.ts:90