chart
Configuration options
Core structure
Other options
Considerations
Examples and code snippets
Chart widget: line-chart component (2x2)
widgets:
line1-2x2:
# select chart widget and then add the compoments trend and line-chart
type: widget.chart
options:
top:
type: component.trend
options:
title: Quarterly Revenue
style:
isAlignRight: false
isValueBottom: true
value: 0.911111111111
format:
numberStyle: percent
chart:
type: component.line-chart
options:
legend:
isHidden: false
series:
- data: [email protected]
dataLabels:
- isEnabled: true
name: Quarterly Revenue 2020
layout: area-gradient
xAxis:
categories:
- Q1
- Q2
- Q3
- Q4
yAxis:
isFirstLabelHidden: true
isFirstTickHidden: true
labels:
format:
compactDisplay: long
notation: compact
numberStyle: currency
min: 0
tickAmount: 3
bottom:
type: component.titles
options:
subtitle: Updated 1 min ago
align: centerChart widget: line-chart component (2x4)
Chart widget: line-chart component (4x4)
Chart widget - line-chart component (4x2)

Chart widget: line-chart component in group widget (4x4)
Chart widget: bar-chart component (2x2)
Chart widget: bar-chart component (4x2)
Chart widget: bar-chart component (4x2)

Chart widget: pie-chart component (2x2)

Chart widget: pie-chart component (2x4)
Chart widget: pie-chart component in group widget (4x4)
Last updated
Was this helpful?