Class DateAxis

Implementation of RenderableItem class drawn on chart.

Hierarchy

Constructors

Properties

_chart?: Chart<any, string | number | Date, undefined>
_size: Size
id: number
initialHeight: undefined | number
initialWidth: undefined | number
konvaDrawables: Shape<ShapeConfig>[]
layerId: string
location: NumericPoint
majorTicks: Tick<Date>[]
majorTicksGenerator: MajorTicksGenerator<Date>
majorTicksLabelsSizes?: Size[]
majorTicksScreenCoords: number[]
minorTicks?: Tick<Date>[]
minorTicksGenerator?: MinorTicksGenerator<Date>
minorTicksScreenCoords: number[]
options: AxisOptions
orientation: AxisOrientation
range: Range<Date>
textMeasureUtils: TextMeasureUtils = TextMeasureUtils.Instance
generateMajorTicksMaxAttempts: 12 = 12
paddingBetweenMajorAndMinorTicks: 4 = 4
textVerticalOffsetMultiplier: number = 0.0

Vertical multiplier, which must be used for defining an offset for fillText canvas method. Each text must be shifted by this constant in top direction (Y axis).

Accessors

Methods

Generated using TypeDoc