XyChartResponse class
A chart that displays data on a 2D (X and Y axes) plane.
Constructors
-
XyChartResponse({required Input<
ChartOptionsResponse> chartOptions, required Input<List< dataSets, required Input<DataSetResponse> >List< thresholds, required Input<ThresholdResponse> >String> timeshiftDuration, required Input<AxisResponse> xAxis, required Input<AxisResponse> y2Axis, required Input<AxisResponse> yAxis}) -
Creates a new XyChartResponse.
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 -
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