NumericAxisRenderer class

Creates an axis renderer for Numeric axis.

Inheritance

Constructors

NumericAxisRenderer(NumericAxis _numericAxis)
Creating an argument constructor of NumericAxisRenderer class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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
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, num 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 chartState) → 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
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 non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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