Skip to main content

Class: AutoScaleAxis

Hierarchy​

  • Axis

    ↳ AutoScaleAxis

Properties​

bounds​

• Private Readonly bounds: Bounds

Defined in​

axes/AutoScaleAxis.ts:12


range​

• Readonly range: Object

Type declaration​

NameType
minnumber
maxnumber

Overrides​

Axis.range

Defined in​

axes/AutoScaleAxis.ts:13


counterUnits​

• Readonly counterUnits: AxisUnits

Inherited from​

Axis.counterUnits

Defined in​

axes/Axis.ts:37


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

Constructors​

constructor​

• new AutoScaleAxis(axisUnit, data, chartRect, options)

Parameters​

NameType
axisUnitAxisUnits
dataNormalizedSeries[]
chartRectChartRect
optionsAxisOptions

Overrides​

Axis.constructor

Defined in​

axes/AutoScaleAxis.ts:18

Methods​

projectValue​

▸ projectValue(value): number

Parameters​

NameType
valueNormalizedSeriesPrimitiveValue

Returns​

number

Overrides​

Axis.projectValue

Defined in​

axes/AutoScaleAxis.ts:43


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