charton API / @chart-on/core / index / SeasonalData
Interface: SeasonalData
Defined in: packages/core/src/seasonality/math.ts:73
The result of computeSeasonality: the compared window and its layout, each year's path over it and the optional average path.
Properties
align
align:
SeasonalAlign
Defined in: packages/core/src/seasonality/math.ts:77
average
average:
SeasonalSummary|null
Defined in: packages/core/src/seasonality/math.ts:85
normalize
normalize:
SeasonalNormalize
Defined in: packages/core/src/seasonality/math.ts:78
paths
paths:
SeasonalPath[]
Defined in: packages/core/src/seasonality/math.ts:84
Oldest year first.
period
period:
number
Defined in: packages/core/src/seasonality/math.ts:76
The quarter or month compared (1 for a year window).
slots
slots:
number
Defined in: packages/core/src/seasonality/math.ts:80
Positions in the window: calendar days on a leap-year calendar, or the most trading days any year has.
start
start:
number
Defined in: packages/core/src/seasonality/math.ts:82
Midnight UTC of the window's first day in SEASONAL_REFERENCE_YEAR.
window
window:
SeasonalWindow
Defined in: packages/core/src/seasonality/math.ts:74