Track trends over time with dynamic time series charts.
yaml
type: "io.kestra.plugin.core.dashboard.chart.TimeSeries"Examples
Display a chart with Executions over the last week.
yaml
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Properties
data *RequiredNon-dynamicDataFilter
id *RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]* Min length
1chartOptions Non-dynamicTimeSeriesOption
Definitions
GREATER_THAN_OR_EQUAL_TO
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
NOT_EQUAL_TO
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
OR
type *Requiredobject
values *RequiredContainsEndsWithEqualToGreaterThanGreaterThanOrEqualToInIsFalseIsNotNullIsNullIsTrueLessThanLessThanOrEqualToNotEqualToNotInOrRegexStartsWith
Min items
1field string
labelKey string
CONTAINS
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
EQUAL_TO
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
LESS_THAN
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
column *Requiredstring
Min length
1displayName *Requiredstring
Min length
1colorByColumn string
description string
legend LegendOption
Default
{
"enabled": true
}tooltip string
Default
ALL Possible Values
NONEALLSINGLEwidth integer
Default
6 Minimum
>= 1 Maximum
<= 12IS_NULL
type *Requiredobject
field string
labelKey string
IS_TRUE
type *Requiredobject
field string
labelKey string
LESS_THAN_OR_EQUAL_TO
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
IN
type *Requiredobject
values *Requiredarray
Min items
1field string
labelKey string
io.kestra.core.models.dashboards.charts.LegendOption
enabled boolean
Default
trueSTARTS_WITH
type *Requiredobject
value *Requiredstring
field string
labelKey string
REGEX
type *Requiredobject
value *Requiredstring
field string
labelKey string
io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesColumnDescriptor
agg string
Possible Values
AVGMAXMINSUMCOUNTdisplayName string
field string
graphStyle string
Possible Values
LINESBARSPOINTSlabelKey string
ENDS_WITH
type *Requiredobject
value *Requiredstring
field string
labelKey string
io.kestra.core.models.dashboards.DataFilter
type *Requiredobject
io.kestra.core.models.dashboards.OrderBy
column *Requiredstring
Min length
1order string
Default
ASC Possible Values
ASCDESCNOT_IN
type *Requiredobject
values *Requiredarray
Min items
1