group
Configuration options
Core structure
Examples and code snippets
Group with chart and list (size: 4x4, split: horizontal)

widgets:
list-horizontal-4x4:
type: widget.group
options:
split: horizontal
children:
- type: widget.chart
options:
chart:
type: component.line-chart
options:
chart:
isAnimated: true
yAxis:
min: 0
labels:
format:
numberStyle: currency
compactDisplay: short
notation: compact
tickAmount: 8
isFirstTickHidden: true
isFirstLabelHidden: true
xAxis:
categories:
- Q1
- Q2
- Q3
- Q4
series:
- data: =[{"x":"Q1/20", "y":25000, "color":"color2"}, {"x":"Q2/20", "y":32000, "color":"color2"}, {"x":"Q3/20", "y":45000, "color":"color2"}, {"x":"Q4/20", "y":86000, "color":"color2"}]
name: Year 2019
animation:
direction: left-to-right
layout: area-gradient
dataLabels:
- isEnabled: true
- data: =[{"x":"Q1/20", "y":12000, "color":"color3"}, {"x":"Q2/20", "y":48000, "color":"color3"}, {"x":"Q3/20", "y":36000, "color":"color3"}, {"x":"Q4/20", "y":120000, "color":"color3"}]
name: Year 2020
animation:
direction: left-to-right
layout: area-gradient
dataLabels:
- isEnabled: true
legend:
isHidden: false
- type: widget.list
options:
data: [email protected]
item:
type: component.list-item
options:
divider: solid
title: [email protected]
subtitle: [email protected]
description: =$fromMillis($toMillis(@ctx.current.item.date), '[M01]/[D01]/[Y01]')
label:
title: [email protected] & '$'
isHidden: false
color:
- when: =(@ctx.current.item.positive = true)
color: color2
- when: =(@ctx.current.item.positive = false)
color: color4
leftElement:
element: icon
icon: [email protected] = true ? 'up' :'down'
style:
isPositive: [email protected]
isError: [email protected] = false ? "true" :"false"Group with chart and list (size: 4x4, split: vertical)

Group with avatar and list (size: 4x2)

Group with value and bar-chart (size: 2x4)

Last updated
Was this helpful?