MajorGridLines class

Customizes the major grid lines.

This class Renders the major grid lines for the axis.

To render major grid lines, create an instance of MajorGridLines, and assign it to the major gridLines property of ChartAxis. Major grid lines can be drawn for each axis on the plot area.

Provides options for color, width, and dashArray to customize the appearance.

Constructors

MajorGridLines({double width: 0.7, Color color, List<double> dashArray})
Creating an argument constructor of MajorGridLines class.

Properties

color Color
Color of the major grid lines. [...]
final
dashArray List<double>
Dashes of the major grid lines. [...]
final
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
width double
Width of the major grid lines. [...]
final

Methods

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