Graph class

A graph which can be painted in a Plot object

The graph painted must be specified by the x and y parameters. Note that x and y must be of equal length.

Constructors

Graph({required List<double> x, required List<double> y, Color? color, List<Annotation>? annotations, List<Crosshair>? crosshairs})

Properties

annotations List<Annotation>?
The Annotations which will be attached to this graph.
final
color Color?
The color of the graph.
final
crosshairs List<Crosshair>?
The Crosshairs which will be attached to this graph.
final
hashCode int
The hash code for this object.
no setteroverride
plotObjects List<DraggablePlotObject>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x List<double>
x-values
final
y List<double>
y-values
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toLog(bool xLog, bool yLog) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override