aswi2021codebakers-gitlab/src/vega/tooltip/value-tooltip.json @ 8cca41c0
1 |
{
|
---|---|
2 |
"data": [ |
3 |
{}, |
4 |
{}, |
5 |
{ |
6 |
"transform": [ |
7 |
{ |
8 |
"fields": [ |
9 |
{"signal" : "valuePath"}, |
10 |
{"signal": "timestampPath"}, |
11 |
{"signal": "gidPath"} |
12 |
], |
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 |
}
|
- « Předchozí
- 1
- 2
- 3
- Další »