GraphSpec class
A graph.
Constructors
-
GraphSpec({String key = 't', GraphXSpec x = const GraphXSpec(), List<
GraphPaneSpec> panes = const [], List<GraphTransformSpec> transforms = const [], GraphCrosshairSpec crosshair = const GraphCrosshairSpec(), GraphInteractionsSpec interactions = const GraphInteractionsSpec(), GraphStyleSpec style = const GraphStyleSpec(), GraphSelectionSpec selection = const GraphSelectionSpec(), double animate = 0, bool animateIn = false, GraphLegendSpec legend = const GraphLegendSpec()}) -
const
- GraphSpec.fromJson(Json j)
-
factory
Properties
- animate → double
-
How long (ms) the marks take to move to new values when the rows
change (0: at once), and whether they grow from zero when the graph
first shows.
final
- animateIn → bool
-
final
- crosshair → GraphCrosshairSpec
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactions → GraphInteractionsSpec
-
final
- key → String
-
The row field that names a row across updates (its time): how an
update is told from an append and from older rows put before.
final
- legend → GraphLegendSpec
-
final
-
panes
→ List<
GraphPaneSpec> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection → GraphSelectionSpec
-
final
- style → GraphStyleSpec
-
final
-
transforms
→ List<
GraphTransformSpec> -
final
- x → GraphXSpec
-
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