Creates an instance of an AxisCore
Optional parameters of type IAxisCoreOptions used to define properties at instantiation time
If the diff of the visibleRange is 0, this growby fraction will be applied
Internal backing property for AxisCore.autoRange. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.autoTicks. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.axisBandsFill. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.axisTitle. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.getCurrentCoordinateCalculator, a method which returns the latest valid CoordinateCalculatorBase instance for calculating pixel coordinates from data-values and vice versa.
Internal backing property for AxisCore.cursorTextFormatting. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.deltaCalculator. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawLabels. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawMajorBands. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawMajorGridLines. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawMajorTickLines. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawMinorGridLines. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.drawMinorTickLines. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.flippedCoordinates. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.growBy. To fire AxisCore.invalidateParentCallback, set the public property
If false, autoRange Once will run on this axis. Set true when there is any change to the visibleRange.
Internal backing property for AxisCore.id. To fire AxisCore.invalidateParentCallback, set the public property
Callback to invalidate the parent 2D SciChartSurface or 3D SciChart3DSurface
A flag to indicate if measure has been called this frame. Properties updated after measure must trigger a redraw
Internal backing property for AxisCore.isVisible. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for {@link AxisCore.isAxis}. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.labelProvider. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.majorDelta. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.maxAutoTicks. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.minorDelta. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.minorsPerMajor. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.textFormatting. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.tickCoordinatesProvider. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.tickProvider. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for {@link AxisCore.tickTextBrush}. To fire AxisCore.invalidateParentCallback, set the public property
The type of axis. See EAxisType for a list of values
An EventHandler which fires a callback when the AxisCore.visibleRange property changes.
Internal backing property for AxisCore.visibleRange. To fire AxisCore.invalidateParentCallback, set the public property
The Default AxisCore.id
When true, 32-bit faster paths for coordinate calculation maths are used. This improves performance in edge-cases where every CPU cycle counts.
When true, 32-bit faster paths for coordinate calculation maths are used. This improves performance in edge-cases where every CPU cycle counts.
gets or sets the Auto-Ranging behaviour on the axis. See EAutoRange for a list of values. The default value is EAutoRange.Once
gets or sets the Auto-Ranging behaviour on the axis. See EAutoRange for a list of values. The default value is EAutoRange.Once
A boolean flag, when true, the axis will automatically calculate its Major and Minor delta. When false, the user can specify or set these properties for overriding axis gridline spacing
A boolean flag, when true, the axis will automatically calculate its Major and Minor delta. When false, the user can specify or set these properties for overriding axis gridline spacing
Gets or sets the Axis Bands fill as an HTML Color code
Gets or sets the Axis Bands fill as an HTML Color code
Gets or sets the Axis title string Use an array to create a multiLine title
Gets or sets the Axis title string Use an array to create a multiLine title
Gets or sets a DeltaCalculator - a class which is responsible for calculating the Major and Minor delta, which are used for gridline spacing
Gets or sets a DeltaCalculator - a class which is responsible for calculating the Major and Minor delta, which are used for gridline spacing
Gets the axisTitleStyle adjusted for current DPI / Browser zoom level
When true, draws labels on the axis, else they are not drawn
When true, draws labels on the axis, else they are not drawn
When true, draws bands, a solid color fill between alternative major gridlines, else they are not drawn
When true, draws bands, a solid color fill between alternative major gridlines, else they are not drawn
When true, major gridlines (lines inside the chart viewport area) are drawn, else they are not drawn
When true, major gridlines (lines inside the chart viewport area) are drawn, else they are not drawn
When true, major gridlines (small lines outside the chart viewport area) are drawn, else they are not drawn
When true, major gridlines (small lines outside the chart viewport area) are drawn, else they are not drawn
When true, minor gridlines (lines inside the chart viewport area) are drawn, else they are not drawn
When true, minor gridlines (lines inside the chart viewport area) are drawn, else they are not drawn
When true, minor gridlines (small lines outside the chart viewport area) are drawn, else they are not drawn
When true, minor gridlines (small lines outside the chart viewport area) are drawn, else they are not drawn
When true, axis coordinates are flipped, e.g. a NumericAxis with VisibleRange 0..10 will render from 10 to 0
When true, axis coordinates are flipped, e.g. a NumericAxis with VisibleRange 0..10 will render from 10 to 0
Gets or sets the GrowBy: a padding factor on the axis
Gets or sets the GrowBy: a padding factor on the axis
Gets or sets the unique Axis Id
Gets or sets the unique Axis Id
Gets if the Axis is Category
When true, the axis is visible. Default value is also true for the axis
When true, the axis is visible. Default value is also true for the axis
SET INTERNALLY. Gets whether this axis is an XAxis or not
Gets or sets a LabelProvider - a class which is responsible for formatting axis labels and cursor labels from numeric values
Gets or sets a LabelProvider - a class which is responsible for formatting axis labels and cursor labels from numeric values
The MajorDelta is the spacing between major gridlines and axis labels.
The MajorDelta is the spacing between major gridlines and axis labels.
Gets or sets the max-auto-ticks. A hint which limits the number of major gridlines and labels (aka major ticks) on the axis at any one time. This value is a hint, and actual value of ticks may be lower than this
Gets or sets the max-auto-ticks. A hint which limits the number of major gridlines and labels (aka major ticks) on the axis at any one time. This value is a hint, and actual value of ticks may be lower than this
The MinorDelta is the spacing between minor gridlines.
The MinorDelta is the spacing between minor gridlines.
When AxisCore.autoTicks is true, minorsPerMajor is a hint of how many minor gridlines should be drawn between each major gridline
When AxisCore.autoTicks is true, minorsPerMajor is a hint of how many minor gridlines should be drawn between each major gridline
Gets or sets a TickCoordinatesProvider - a class which is responsible for converting tick values to pixel coordinates
Gets or sets a TickCoordinatesProvider - a class which is responsible for converting tick values to pixel coordinates
Gets or sets a TickProvider - a class which calculates ticks (interval between major and minor gridlines, ticks and labels)
Gets or sets a TickProvider - a class which calculates ticks (interval between major and minor gridlines, ticks and labels)
The VisibleRange is the range of the Axis (min to max).
The VisibleRange is the range of the Axis (min to max).
Sets and animates the visibleRange of the axis from the current value to the provided value over the duration and with Easing Function provided
the NumberRange which we wish to animate AxisCore.visibleRange to
the duration of the animation in milliseconds
the Easing Function to use. Default value is outCubic
the callback function
Force the recreation of the coordinate calculator the next time it is requested Required if the dataSeries has changed on a category axis
Deletes native (WebAssembly) memory used by this type, after which it cannot be used.
Gets the long dimension of the axis, in pixels
Gets the current CoordinateCalculatorBase instance. Recreates the coordinate-calculator if it does not match the axis values The coordinate-calculator allows you to transform between pixel and data coordinates (and vice versa)
Creates new CoordinateCalculatorBase instance. Valid for this render-pass only, the coordinate-calculator allows you to transform between pixel and data coordinates (and vice versa)
Gets a default value to apply to AxisCore.visibleRange if none provided, and no auto-range operation
When true, the axis has the default AxisCore.visibleRange.
When true, the axis has a valid AxisCore.visibleRange which can be drawn
Tests whether the range passed in is valid
The range
Notifies listeners to AxisCore.invalidateParentCallback that a property has changed and the parent chart needs to be redrawn.
The property name which has changed.
SET INTERNALLY. Sets whether this axis is an XAxis or not
Internal backing property for AxisCore.axisTitleStyle. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.majorGridLineStyle. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.majorTickLineStyle. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.minorGridLineStyle. To fire AxisCore.invalidateParentCallback, set the public property
Internal backing property for AxisCore.minorTickLineStyle. To fire AxisCore.invalidateParentCallback, set the public property
Generated using TypeDoc
The base class for Axis within SciChart - High Performance JavaScript Charts.
AxisCore is a base class for both 2D & 3D Axis types in SciChart. Concrete types include:
NumericAxis: a Numeric 2D value-axis
CategoryAxis: A category 2D axis used for stock chart applications
NumericAxis3D: A numeric 3D value-axis
Set axis on the SciChartSurface.xAxes or SciChartSurface.yAxes collections in 2D Charts. Set axis on the SciChart3DSurface.xAxis, SciChart3DSurface.yAxis or SciChart3DSurface.zAxis collections in 3D Charts.