Class: StepAxis
Hierarchy
↳
StepAxis
Properties
counterUnits
• Readonly counterUnits: AxisUnits
Inherited from
Defined in
range
• Readonly range: undefined | { min: number ; max: number }
Inherited from
Defined in
axisLength
• Readonly axisLength: number
Inherited from
Defined in
units
• Readonly units: AxisUnits
Inherited from
Defined in
stepLength
• Private Readonly stepLength: number
Defined in
stretch
• Readonly stretch: boolean
Defined in
Methods
createGridAndLabels
▸ createGridAndLabels(gridGroup, labelGroup, chartOptions, eventEmitter): void
Parameters
| Name | Type |
|---|---|
gridGroup | Svg |
labelGroup | Svg |
chartOptions | OptionsWithDefaults |
eventEmitter | EventEmitter |
Returns
void
Inherited from
Defined in
projectValue
▸ projectValue(_value, index): number
Parameters
| Name | Type |
|---|---|
_value | unknown |
index | number |
Returns
number
Overrides
Defined in
Constructors
constructor
• new StepAxis(axisUnit, _data, chartRect, options)
Parameters
| Name | Type |
|---|---|
axisUnit | AxisUnits |
_data | unknown |
chartRect | ChartRect |
options | AxisOptions |