1
|
1) Getting vega specification
|
2
|
|
3
|
a) getting the base
|
4
|
empty -> for empty graphs
|
5
|
default -> for other graphs
|
6
|
|
7
|
b) getting the body
|
8
|
barchart / linechart / multilinechart / windchart
|
9
|
|
10
|
c) getting the legend specification
|
11
|
|
12
|
d) getting the tooltip specification
|
13
|
(samm -> sum, avg, min, max)
|
14
|
|
15
|
e) merging the files into result
|
16
|
|
17
|
|
18
|
2) Vega configurations.
|
19
|
|
20
|
Process of getting configuration:
|
21
|
a) gets config.json
|
22
|
b) gets other config file for corresponding graphs
|
23
|
c) merge signals array from other graph to config.json
|
24
|
|
25
|
(barline = bar + line)
|
26
|
|
27
|
note: config signals typically contain path to values
|
28
|
|