XyChartResponse constructor
const
XyChartResponse({
- required Input<
ChartOptionsResponse> chartOptions, - required Input<
List< dataSets,DataSetResponse> > - required Input<
List< thresholds,ThresholdResponse> > - 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.
Implementation
const XyChartResponse({
required this.chartOptions,
required this.dataSets,
required this.thresholds,
required this.timeshiftDuration,
required this.xAxis,
required this.y2Axis,
required this.yAxis,
});