Compare categorical data visually with bar charts.
yaml
type: "io.kestra.plugin.core.dashboard.chart.Bar"
Examples
Display a bar chart with Executions per Namespace.
yaml
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Properties
data *RequiredNon-dynamicDataFilter
id *RequiredNon-dynamicstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9_-]*
Min length
1
chartOptions Non-dynamicBarOption
Definitions
io.kestra.core.models.dashboards.DataFilter
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 *Requiredarray
Min items
1
field string
labelKey string
CONTAINS
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
io.kestra.core.models.dashboards.ColumnDescriptor
agg string
Possible Values
AVG
MAX
MIN
SUM
COUNT
displayName string
field string
labelKey string
EQUAL_TO
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
LESS_THAN
type *Requiredobject
value *Requirednumberstring
field string
labelKey string
IS_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
1
field string
labelKey string
io.kestra.plugin.core.dashboard.chart.bars.BarOption
column *Requiredstring
Min length
1
displayName *Requiredstring
Min length
1
description string
legend LegendOption
Default
{
"enabled": true
}
tooltip string
Default
ALL
Possible Values
NONE
ALL
SINGLE
width integer
Default
6
Minimum
>= 1
Maximum
<= 12
io.kestra.core.models.dashboards.charts.LegendOption
enabled boolean
Default
true
STARTS_WITH
type *Requiredobject
value *Requiredstring
field string
labelKey string
REGEX
type *Requiredobject
value *Requiredstring
field string
labelKey string
ENDS_WITH
type *Requiredobject
value *Requiredstring
field string
labelKey string
io.kestra.core.models.dashboards.OrderBy
column *Requiredstring
Min length
1
order string
Default
ASC
Possible Values
ASC
DESC
NOT_IN
type *Requiredobject
values *Requiredarray
Min items
1