LineChartAxisStyle class

Contains various customization options for the axis of the chart.

Constructors

LineChartAxisStyle({double stroke = 1, Color color = const Color(0x33FFFFFF), TextStyle yAxisLabelStyle = defaultYAxisLabelStyle, TextStyle xAxisLabelStyle = defaultXAxisLabelStyle, TextStyle xAxisSelectedLabelStyle = defaultXAxisSelectedLabelStyle, double xAxisLabelTopMargin = 6, EdgeInsets xAxisLabelPadding = defaultXAxisLabelPadding, Color xAxisSelectedLabelBackgroundColor = const Color(0xFFFFFFFF), BorderRadius xAxisSelectedLabelBorderRadius = defaultXAxisSelectedLabelBorderRadius})
Constructs an instance of LineChartAxisStyle.
const

Properties

color Color
Color of the axis lines.
final
hashCode int
The hash code for this object.
no setteroverride
labelHeight double
Gets height of the label.
no setter
paint Paint
Gets a Paint for the axis drawing.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke double
Stroke of the axis lines.
final
xAxisLabelPadding EdgeInsets
Padding of the X axis label.
final
xAxisLabelStyle TextStyle
X axis label style.
final
xAxisLabelTopMargin double
Top margin of the X axis label.
final
xAxisSelectedLabelBackgroundColor Color
Background color of the selected X axis label.
final
xAxisSelectedLabelBorderRadius BorderRadius
Border radius of the selected X axis label.
final
xAxisSelectedLabelStyle TextStyle
X axis selected label style.
final
yAxisLabelStyle TextStyle
Y axis label style.
final

Methods

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.
override