Skip to main content

Class: FixedScaleAxis

Hierarchy​

  • Axis

    ↳ FixedScaleAxis

Properties​

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


range​

• Readonly range: Object

Type declaration​

NameType
minnumber
maxnumber

Overrides​

Axis.range

Defined in​

axes/FixedScaleAxis.ts:12

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): number

Parameters​

NameType
valueNormalizedSeriesPrimitiveValue

Returns​

number

Overrides​

Axis.projectValue

Defined in​

axes/FixedScaleAxis.ts:42

Constructors​

constructor​

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

Parameters​

NameType
axisUnitAxisUnits
dataNormalizedSeries[]
chartRectChartRect
optionsAxisOptions

Overrides​

Axis.constructor

Defined in​

axes/FixedScaleAxis.ts:17