DataSet class
Groups a time series query definition with charting options.
Constructors
-
DataSet({Input<
List< ? breakdowns, Input<Breakdown> >List< ? dimensions, Input<Dimension> >String> ? legendTemplate, Input<List< ? measures, Input<Measure> >String> ? minAlignmentPeriod, Input<DataSetPlotType> ? plotType, Input<DataSetTargetAxis> ? targetAxis, required Input<TimeSeriesQuery> timeSeriesQuery}) -
Creates a new DataSet.
breakdownsOptional. The collection of breakdowns to be applied to the dataset.dimensionsOptional. A collection of dimension columns.legendTemplateA 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.measuresOptional. A collection of measures.minAlignmentPeriodOptional. 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.plotTypeHow this data should be plotted on the chart.targetAxisOptional. The target axis to use for plotting the metric.timeSeriesQueryFields for querying time series data from the Stackdriver metrics API.const -
DataSet.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
breakdowns
→ Input<
List< ?Breakdown> > -
Optional. The collection of breakdowns to be applied to the dataset.
final
-
dimensions
→ Input<
List< ?Dimension> > -
Optional. A collection of dimension columns.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
legendTemplate
→ Input<
String> ? -
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.
final
-
measures
→ Input<
List< ?Measure> > -
Optional. A collection of measures.
final
-
minAlignmentPeriod
→ Input<
String> ? -
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.
final
-
plotType
→ Input<
DataSetPlotType> ? -
How this data should be plotted on the chart.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetAxis
→ Input<
DataSetTargetAxis> ? -
Optional. The target axis to use for plotting the metric.
final
-
timeSeriesQuery
→ Input<
TimeSeriesQuery> -
Fields for querying time series data from the Stackdriver metrics API.
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