aswi2021codebakers-gitlab/src/vega/tooltip/value-tooltip.json @ 8cca41c0
1 | b4b32b0e | Štěpán Červenka | {
|
---|---|---|---|
2 | "data": [ |
||
3 | e7b16d72 | Štěpán Červenka | {}, |
4 | b4b32b0e | Štěpán Červenka | {}, |
5 | { |
||
6 | "transform": [ |
||
7 | { |
||
8 | "fields": [ |
||
9 | {"signal" : "valuePath"}, |
||
10 | {"signal": "timestampPath"}, |
||
11 | 8cca41c0 | Štěpán Červenka | {"signal": "gidPath"} |
12 | b4b32b0e | Štěpán Červenka | ], |
13 | "as": [ |
||
14 | "value", |
||
15 | "timestamp", |
||
16 | "gid" |
||
17 | ] |
||
18 | } |
||
19 | ] |
||
20 | } |
||
21 | ], |
||
22 | "marks": [ |
||
23 | { |
||
24 | "marks": [ |
||
25 | { |
||
26 | "marks": [ |
||
27 | { |
||
28 | "encode": { |
||
29 | "enter": { |
||
30 | "tooltip": { |
||
31 | "signal": "{title: timeFormat(datum.dateTime, '%A, %e. %B %Y, %X') , 'value': datum.value, 'gid': datum.gid }" |
||
32 | }} |
||
33 | } |
||
34 | |||
35 | |||
36 | } |
||
37 | ] |
||
38 | } |
||
39 | ] |
||
40 | } |
||
41 | ] |
||
42 | }
|