Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface to minimal set of parameters which define an Axis in SciChart

Hierarchy

  • IAxisParams

Implemented by

Index

Properties

majorDelta

majorDelta: number

The MajorDelta is the spacing between major gridlines and axis labels.

remarks

This is internally computed via the Delta Calculator, however it can be explicitly set here in which case you should also set AxisCore.minorDelta and AxisCore.autoTicks = false.

It is also possible to override and create custom implementations of the DeltaCalculator for full control over axis gridline spacing.

minorDelta

minorDelta: number

The MinorDelta is the spacing between minor gridlines.

remarks

This is internally computed via the Delta Calculator, however it can be explicitly set here in which case you should also set AxisCore.majorDelta and AxisCore.autoTicks = false.

It is also possible to override and create custom implementations of the DeltaCalculator for full control over axis gridline spacing.

visibleRange

visibleRange: NumberRange

The VisibleRange is the range of the Axis (min to max).

description

For example, if you have data-values from 0 to 100 in your DataSeries, but you only want to show values from 15-25 on the axis, then set the visibleRange as follows:

axis.visibleRange = new NumberRange(15, 25);
remarks

The visibleRange is a data-value for NumericAxis, NumericAxis3D but refers to an index to the data for CategoryAxis types.

Generated using TypeDoc