PlotStyle class
PlotStyle is used to style a plot
Constructors
- PlotStyle({double pointRadius = 2.0, double outlineRadius = 0.0, Color primary = const Color(0xFF0000FF), Color secondary = const Color(0xFFFF0000), Color? gridline, Color? axis, double axisStrokeWidth = 1.0, bool trace = false, bool traceClose = false, Color? traceColor, double traceStokeWidth = 2.0, bool showCoordinates = false, bool trailingZeros = true, required TextStyle? textStyle})
Properties
- axis → Color?
-
Color to draw the axis
final
- axisStrokeWidth → double
-
Drawing width of the axis
final
- gridline → Color?
-
Color to draw the gridlines
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- outlineRadius → double
-
Drawing radius of point outlines
final
- pointRadius → double
-
Drawing radius of points
final
- primary → Color
-
Color to draw the points with
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → Color
-
Color to draw outlines with
final
- showCoordinates ↔ bool
-
If true each point's coordinates will be displayed above each point
getter/setter pair
- textStyle → TextStyle?
-
TextStyle for the axis labels and titles
final
- trace ↔ bool
-
If true lines will be drawn between each consecutive point
getter/setter pair
- traceClose ↔ bool
-
If true a line will be traced between the last point and the first
getter/setter pair
- traceColor → Color?
-
Color to draw trace lines with
final
- traceStokeWidth → double
-
Trace line stroke width
final
- trailingZeros → bool
-
If trailing zeros should be drawn
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.
inherited