XyChart class
A chart that displays data on a 2D (X and Y axes) plane.
Constructors
-
XyChart({Input<
ChartOptions> ? chartOptions, required Input<List< dataSets, Input<DataSet> >List< ? thresholds, Input<Threshold> >String> ? timeshiftDuration, Input<Axis> ? xAxis, Input<Axis> ? y2Axis, Input<Axis> ? yAxis}) -
Creates a new XyChart.
chartOptionsDisplay options for the chart.dataSetsThe data displayed in this chart.thresholdsThreshold lines drawn horizontally across the chart.timeshiftDurationThe duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.xAxisThe properties applied to the x-axis.y2AxisThe properties applied to the y2-axis.yAxisThe properties applied to the y-axis.const -
XyChart.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
chartOptions
→ Input<
ChartOptions> ? -
Display options for the chart.
final
-
dataSets
→ Input<
List< DataSet> > -
The data displayed in this chart.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
thresholds
→ Input<
List< ?Threshold> > -
Threshold lines drawn horizontally across the chart.
final
-
timeshiftDuration
→ Input<
String> ? -
The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.
final
-
xAxis
→ Input<
Axis> ? -
The properties applied to the x-axis.
final
-
y2Axis
→ Input<
Axis> ? -
The properties applied to the y2-axis.
final
-
yAxis
→ Input<
Axis> ? -
The properties applied to the y-axis.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited