CartesianGridStyle class

Provides the Styling options for a Cartesian Grid.

Customization Options include Show/Hide, Line Color, Line Width and Unit Values for a Graph Unit formed by Grid Intersections.

Constructors

CartesianGridStyle.new({bool show = true, double gridLineWidth = 0.5, Color gridLineColor = Colors.black45})
Provides the Styling options for a Cartesian Grid.
const

Properties

gridLineColor Color
The Color of the Grid Lines
final
gridLineWidth double
The Width/Thickness of the Grid Lines
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Hides or Shows the Grid Lines. Visible by Default.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyWith({bool? show, num? xUnitValue, num? yUnitValue, double? gridLineWidth, Color? gridLineColor}) CartesianGridStyle
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