Skip to main content

Props API

TimeSeriesQueryProps
TimeSeries query props
TimeSeriesData["labels"]
If passed along with values the component will ignore the built-in GraphQL operations
TimeSeriesData["values"]
If passed along with labels the component will ignore the built-in GraphQL operations
boolean
When true, shows a skeleton loader
string
Canvas aria-label prop, if not passed we handle it
string
Canvas role prop, if not passed we handle it
string
Time zone to use (for example, “America/Los_Angeles”, “Europe/Berlin”, or “UTC”). Defaults to the client’s local time zone
TimeSeriesChartProps
Optional props that are used to configure the chart component.
number
Maximum number of columns to group by, default is 5
boolean
If true, an other dataset will be shown
(AccentColors | string)[]
A list of accent colors the TimeSeries component will use to show groups, those will be picked in order
boolean
If true, chart’s lines or bars will be stacked
GrayColors | string
Color that will be used for the other dataset when using groupBy