GraphGuideSpec class

Something drawn on a pane at a place of its scales, over the marks: a line up the pane (x alone), a line across it (y alone), a dot (x and y) or a tinted stretch of the x scale (from to to). On a linear x scale a place is a value; on rows, a row's key.

Constructors

GraphGuideSpec({Object? x, double? y, Object? from, Object? to, Color color = const Color(0xFF9CA3AF), String line = 'solid', double width = 1, String label = '', Color? labelColor, double radius = 3.5, Color? fill, bool below = false})
const
GraphGuideSpec.fromJson(Json j)
factory

Properties

below → bool
A dot's label is under it.
final
color → Color
final
fill → Color?
final
from → Object?
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
labelColor → Color?
final
line → String
solid, dashed or dotted.
final
radius → double
A dot's radius, and its inside when it is not the dot's own color.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → Object?
final
width → double
final
x → Object?
final
y → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited