XyChartResponse class

A chart that displays data on a 2D (X and Y axes) plane.

Constructors

XyChartResponse({required Input<ChartOptionsResponse> chartOptions, required Input<List<DataSetResponse>> dataSets, required Input<List<ThresholdResponse>> thresholds, required Input<String> timeshiftDuration, required Input<AxisResponse> xAxis, required Input<AxisResponse> y2Axis, required Input<AxisResponse> yAxis})
Creates a new XyChartResponse. chartOptions Display options for the chart. dataSets The data displayed in this chart. thresholds Threshold lines drawn horizontally across the chart. timeshiftDuration 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. xAxis The properties applied to the x-axis. y2Axis The properties applied to the y2-axis. yAxis The properties applied to the y-axis.
const
XyChartResponse.fromMap(Map<String, dynamic> map)
factory

Properties

chartOptions → Input<ChartOptionsResponse>
Display options for the chart.
final
dataSets → Input<List<DataSetResponse>>
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<ThresholdResponse>>
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<AxisResponse>
The properties applied to the x-axis.
final
y2Axis → Input<AxisResponse>
The properties applied to the y2-axis.
final
yAxis → Input<AxisResponse>
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