SparkChartViewResponse

data class SparkChartViewResponse(val minAlignmentPeriod: String, val sparkChartType: String)

A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries.

Constructors

Link copied to clipboard
fun SparkChartViewResponse(minAlignmentPeriod: String, sparkChartType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The lower bound on data point frequency in the chart 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 it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

Link copied to clipboard

The type of sparkchart to show in this chartView.