NumericAxisRenderer class

Creates an axis renderer for Numeric axis.

Inheritance

Constructors

NumericAxisRenderer(NumericAxis numericAxis, CartesianStateProperties stateProperties)
Creating an argument constructor of NumericAxisRenderer class.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyRangePadding(VisibleRange range, num? interval) → void
Applies range padding to auto, normal, additional, round, and none types.
override
calculateInterval(VisibleRange range, Size availableSize) num
Finds the interval of an axis.
override
calculateRange(ChartAxisRenderer axisRenderer) → void
To calculate the range points
inherited
calculateVisibleRange(Size availableSize) → void
Calculates the visible range for an axis in chart.
override
dispose() → void
To dispose the objects.
inherited
drawHorizontalAxesLabels(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart, [String? renderType, double? animationFactor, ChartAxisRenderer? oldAxisRenderer, bool? needAnimate]) → void
To draw the axis labels of horizontal axes
inherited
drawHorizontalAxesLine(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart) → void
To draw the horizontal axis line
inherited
drawHorizontalAxesMajorGridLines(Canvas canvas, Offset point, ChartAxisRenderer axisRenderer, MajorGridLines grids, int index, SfCartesianChart chart) → void
To draw the major grid lines of horizontal axes
inherited
drawHorizontalAxesMinorLines(Canvas canvas, ChartAxisRenderer axisRenderer, double tempInterval, Rect rect, num nextValue, int index, SfCartesianChart chart, [String? renderType]) → void
To draw the minor grid lines of horizontal axes
inherited
drawHorizontalAxesTickLines(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart, [String? renderType, double? animationFactor, ChartAxisRenderer? oldAxisRenderer, bool? needAnimate]) → void
To draw the horizontal axes tick lines
inherited
drawHorizontalAxesTitle(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart) → void
To draw the axis title of horizontal axes
inherited
drawVerticalAxesLabels(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart, [String? renderType, double? animationFactor, ChartAxisRenderer? oldAxisRenderer, bool? needAnimate]) → void
To draw the axis labels of vertical axes
inherited
drawVerticalAxesLine(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart) → void
To draw the vertical axis line
inherited
drawVerticalAxesMajorGridLines(Canvas canvas, Offset point, ChartAxisRenderer axisRenderer, MajorGridLines grids, int index, SfCartesianChart chart) → void
To draw the major grid lines of vertical axes
inherited
drawVerticalAxesMinorTickLines(Canvas canvas, ChartAxisRenderer axisRenderer, num tempInterval, Rect rect, int index, SfCartesianChart chart, [String? renderType]) → void
To draw the minor grid lines of vertical axes
inherited
drawVerticalAxesTickLines(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart, [String? renderType, double? animationFactor, ChartAxisRenderer? oldAxisRenderer, bool? needAnimate]) → void
To draw tick lines of vertical axes
inherited
drawVerticalAxesTitle(Canvas canvas, ChartAxisRenderer axisRenderer, SfCartesianChart chart) → void
To draw the axis title of vertical axes
inherited
generateVisibleLabels() → void
Generates the visible axis labels.
override
getAxisLabel(ChartAxis axis, String text, int labelIndex) String
To get axis label text
inherited
getAxisLabelAngle(ChartAxisRenderer axisRenderer, String text, int labelIndex) int
It returns the axis label angle
inherited
getAxisLabelStyle(ChartAxis axis, String text, int labelIndex) TextStyle
To get axis label style
inherited
getAxisLineColor(ChartAxis axis) Color?
To get axis line color
inherited
getAxisLineWidth(ChartAxis axis) double
To get the axis line width
inherited
getAxisMajorGridColor(ChartAxis axis, int majorGridIndex) Color?
To get major grid color
inherited
getAxisMajorGridWidth(ChartAxis axis, int majorGridIndex) double
To get major grid width
inherited
getAxisMajorTickColor(ChartAxis axis, int majorTickIndex) Color?
To get axis line width
inherited
getAxisMajorTickWidth(ChartAxis axis, int majorTickIndex) double
To get major tick width
inherited
getAxisMinorGridColor(ChartAxis axis, int majorGridIndex, int minorGridIndex) Color?
To get minor grid color
inherited
getAxisMinorGridWidth(ChartAxis axis, int majorGridIndex, int minorGridIndex) double
To get minor grid width
inherited
getAxisMinorTickColor(ChartAxis axis, int majorTickIndex, int minorTickIndex) Color?
To get major tick color
inherited
getAxisMinorTickWidth(ChartAxis axis, int majorTickIndex, int minorTickIndex) double
To get minor tick width
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited