Skip to main content

Class: StepAxis

Hierarchy

Properties

counterUnits

Readonly counterUnits: AxisUnits

Inherited from

Axis.counterUnits

Defined in

axes/Axis.ts:37


range

Readonly range: undefined | { min: number ; max: number }

Inherited from

Axis.range

Defined in

axes/Axis.ts:38


axisLength

Readonly axisLength: number

Inherited from

Axis.axisLength

Defined in

axes/Axis.ts:44


units

Readonly units: AxisUnits

Inherited from

Axis.units

Defined in

axes/Axis.ts:48


stepLength

Private Readonly stepLength: number

Defined in

axes/StepAxis.ts:5


stretch

Readonly stretch: boolean

Defined in

axes/StepAxis.ts:6

Methods

createGridAndLabels

createGridAndLabels(gridGroup, labelGroup, chartOptions, eventEmitter): void

Parameters

NameType
gridGroupSvg
labelGroupSvg
chartOptionsOptionsWithDefaults
eventEmitterEventEmitter

Returns

void

Inherited from

Axis.createGridAndLabels

Defined in

axes/Axis.ts:64


projectValue

projectValue(_value, index): number

Parameters

NameType
_valueunknown
indexnumber

Returns

number

Overrides

Axis.projectValue

Defined in

axes/StepAxis.ts:23

Constructors

constructor

new StepAxis(axisUnit, _data, chartRect, options)

Parameters

NameType
axisUnitAxisUnits
_dataunknown
chartRectChartRect
optionsAxisOptions

Overrides

Axis.constructor

Defined in

axes/StepAxis.ts:8