LineChartGridStyle class
Contains various customization options for the grid lines of the chart.
Constructors
- LineChartGridStyle({Color xAxisColor = const Color(0x33FFFFFF), double xAxisStroke = 1, Color yAxisColor = const Color(0x33FFFFFF), double yAxisStroke = 1})
-
Constructs an instance of LineChartGridStyle.
const
- LineChartGridStyle.same({Color color = const Color(0x33FFFFFF), double stroke = 1})
-
Constructs an instance of LineChartGridStyle for same color and stroke
for both axis.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xAxisColor → Color
-
Color of the X axis grid lines.
final
- xAxisPaint → Paint
-
Gets a Paint for the X axis grid drawing.
no setter
- xAxisStroke → double
-
Stroke of the X axis grid lines.
final
- yAxisColor → Color
-
Color of the Y axis grid lines.
final
- yAxisPaint → Paint
-
Gets a Paint for the Y axis grid drawing.
no setter
- yAxisStroke → double
-
Stroke of the Y axis grid lines.
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