AxisChartData class abstract

This is the base class for axis base charts data that contains a FlGridData that holds data for showing grid lines, also we have minX, maxX, minY, maxY values we use them to determine how much is the scale of chart, and calculate x and y according to the scale. each child have to set it in their constructor.

Inheritance
Implementers

Constructors

AxisChartData({FlGridData? gridData, required FlTitlesData titlesData, RangeAnnotations? rangeAnnotations, required double minX, required double maxX, double? baselineX, required double minY, required double maxY, double? baselineY, FlClipData? clipData, Color? backgroundColor, FlBorderData? borderData, required FlTouchData<BaseTouchResponse> touchData, ExtraLinesData? extraLinesData})

Properties

backgroundColor Color
A background color which is drawn behind the chart.
getter/setter pair
baselineX double
getter/setter pair
baselineY double
getter/setter pair
borderData FlBorderData
Holds data to drawing border around the chart.
getter/setter pairinherited
clipData FlClipData
clip the chart to the border (prevent draw outside the border)
getter/setter pair
extraLinesData ExtraLinesData
Extra horizontal or vertical lines to draw on the chart.
final
gridData FlGridData
final
hashCode int
The hash code for this object.
no setterinherited
horizontalDiff double
Difference of maxX and minX
no setter
maxX double
getter/setter pair
maxY double
getter/setter pair
minX double
getter/setter pair
minY double
getter/setter pair
props List<Object?>
Used for equality check, see EquatableMixin.
no setteroverride
rangeAnnotations RangeAnnotations
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
titlesData FlTitlesData
final
touchData FlTouchData<BaseTouchResponse>
Holds data needed to touch behavior and responses.
getter/setter pairinherited
verticalDiff double
Difference of maxY and minY
no setter

Methods

lerp(BaseChartData a, BaseChartData b, double t) BaseChartData
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