main_class/src/chart/base/axis_chart/axis_chart_data library

Classes

AFlGridData
Responsible to hold grid data,
AFlLine
Defines style of a line.
AFlSpot
Represents a conceptual position in cartesian (axis based) space.
AFlTitlesData
Holds data for showing titles on each side of charts.
AxisChartData
This is the base class for axis base charts data that contains a AFlGridData 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.
AxisTitles
Holds data for showing each side titles (left, top, right, bottom)
ExtraLinesData
Draws some straight horizontal or vertical lines in the LineChartWidget
HorizontalLine
Holds data for drawing extra horizontal lines.
HorizontalLineLabel
Draws a title on the HorizontalLine
HorizontalRangeAnnotation
Defines an annotation region in y (vertical) axis.
RangeAnnotations
Holds data for rendering horizontal and vertical range annotations.
SideTitleFitInsideData
Force child widget to be positioned inside its corresponding axis bounding box
SideTitles
Holds data for showing label values on axis numbers
SizedPicture
Holds data for showing a vector image inside the chart.
TitleMeta
Contains meta information about the drawing title.
TouchedSpot
holds information about touched spot on the axis based charts.
VerticalLine
Holds data for drawing extra vertical lines.
VerticalLineLabel
Draws a title on the VerticalLine
VerticalRangeAnnotation
Defines an annotation region in x (horizontal) axis.

Enums

AxisSide
Represents a side of the chart

Functions

defaultGetTitle(double value, TitleMeta meta) Widget
The default SideTitles.getTitlesWidget function.
defaultGridLine(double value) AFlLine
Returns a grey line for all values.
showAllGrids(double value) bool
Shows all lines.

Typedefs

CheckToShowGrid = bool Function(double value)
Determines showing or hiding specified line.
GetDrawingGridLine = AFlLine Function(double value)
Determines the appearance of specified line.
GetTitleWidgetFunction = Widget Function(double value, TitleMeta meta)
It gives you the axis value and gets a String value based on it.