Revize 66c042f1
Přidáno uživatelem Štěpán Červenka před více než 3 roky(ů)
src/vega/body/multilinechart.json | ||
---|---|---|
1 | 1 |
{ |
2 | 2 |
"data": [ |
3 |
{}, |
|
3 | 4 |
{}, |
4 | 5 |
{ |
5 | 6 |
"transform": [ |
... | ... | |
26 | 27 |
}, |
27 | 28 |
{ |
28 | 29 |
"signal": "sensorPath" |
29 |
}, |
|
30 |
{ |
|
31 |
"signal": "axeLegendPath" |
|
32 |
}, |
|
33 |
{ |
|
34 |
"signal": "axeLegendUnit" |
|
35 | 30 |
} |
36 | 31 |
], |
37 | 32 |
"as": [ |
38 | 33 |
"value", |
39 | 34 |
"timestamp", |
40 |
"sensor", |
|
41 |
"axeLegend", |
|
42 |
"axeUnit" |
|
35 |
"sensor" |
|
43 | 36 |
] |
44 | 37 |
} |
45 | 38 |
] |
... | ... | |
191 | 184 |
} |
192 | 185 |
], |
193 | 186 |
"signals": [ |
194 |
{}, |
|
195 | 187 |
{}, |
196 | 188 |
{ |
197 | 189 |
"name": "tooltipSignal", |
... | ... | |
269 | 261 |
{}, |
270 | 262 |
{ |
271 | 263 |
"orient": "left", |
272 |
"scale": "yDetail", |
|
273 |
"grid": true, |
|
274 |
"title": {"signal": "data('table')[0].axeLegend"}, |
|
275 |
"encode": { |
|
276 |
"labels": { |
|
277 |
"update": { |
|
278 |
"text": {"signal": "datum.value + ' ' + data('table')[0].axeUnit"} |
|
279 |
} |
|
280 |
} |
|
281 |
} |
|
264 |
"scale": "yDetail" |
|
282 | 265 |
} |
283 | 266 |
], |
284 | 267 |
"marks": [ |
Také k dispozici: Unified diff
Re #8775 - Agregovat grafy se stejným typem sensoru