DataSet constructor

const DataSet({
  1. Input<List<Breakdown>>? breakdowns,
  2. Input<List<Dimension>>? dimensions,
  3. Input<String>? legendTemplate,
  4. Input<List<Measure>>? measures,
  5. Input<String>? minAlignmentPeriod,
  6. Input<DataSetPlotType>? plotType,
  7. Input<DataSetTargetAxis>? targetAxis,
  8. required Input<TimeSeriesQuery> timeSeriesQuery,
})

Creates a new DataSet. breakdowns Optional. The collection of breakdowns to be applied to the dataset. dimensions Optional. A collection of dimension columns. legendTemplate A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value. measures Optional. A collection of measures. minAlignmentPeriod Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals. plotType How this data should be plotted on the chart. targetAxis Optional. The target axis to use for plotting the metric. timeSeriesQuery Fields for querying time series data from the Stackdriver metrics API.

Implementation

const DataSet({
  this.breakdowns,
  this.dimensions,
  this.legendTemplate,
  this.measures,
  this.minAlignmentPeriod,
  this.plotType,
  this.targetAxis,
  required this.timeSeriesQuery,
});