/
chart-widget-line-dynamic.jigx
48 lines (46 loc) · 1.12 KB
/
chart-widget-line-dynamic.jigx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
type: jig.default
title: Company revenue
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: "Status Full View"
value: Not implemented yet
widgets:
4x2:
type: widget.chart
options:
chart:
type: component.line-chart
options:
chart:
height: 150
isAnimated: true
yAxis:
min: 0
labels:
format:
numberStyle: currency
compactDisplay: short
notation: compact
tickAmount: 4
isFirstTickHidden: true
isFirstLabelHidden: true
xAxis:
categories:
- Q1
- Q2
- Q3
- Q4
series:
- data: =@ctx.datasources.series1-dynamic
name: Year 2019
animation:
direction: left-to-right
layout: area-gradient
dataLabels:
- isEnabled: true
legend:
isHidden: false