Props API

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