1 |
8cca41c0
|
Štěpán Červenka
|
{
|
2 |
|
|
|
3 |
|
|
"data":[
|
4 |
66c042f1
|
Štěpán Červenka
|
{
|
5 |
|
|
"name": "legend",
|
6 |
|
|
"values": null
|
7 |
|
|
},
|
8 |
8cca41c0
|
Štěpán Červenka
|
{
|
9 |
|
|
"name": "source",
|
10 |
|
|
"values": null
|
11 |
|
|
}
|
12 |
|
|
],
|
13 |
|
|
|
14 |
|
|
"signals": [
|
15 |
|
|
{
|
16 |
|
|
"name": "text",
|
17 |
|
|
"value": "Sample text."
|
18 |
|
|
}
|
19 |
|
|
],
|
20 |
|
|
|
21 |
|
|
"scales": [
|
22 |
|
|
{
|
23 |
|
|
"name": "xscale",
|
24 |
|
|
"domain": [0,0],
|
25 |
|
|
"range": "width"
|
26 |
|
|
},
|
27 |
|
|
{
|
28 |
|
|
"name": "yscale",
|
29 |
|
|
"domain": [0,0],
|
30 |
|
|
"range": "height"
|
31 |
|
|
}
|
32 |
|
|
],
|
33 |
|
|
|
34 |
|
|
"axes":[
|
35 |
|
|
{
|
36 |
|
|
"orient": "bottom",
|
37 |
|
|
"scale": "xscale"
|
38 |
|
|
},
|
39 |
|
|
{
|
40 |
|
|
"orient": "left",
|
41 |
|
|
"scale": "yscale"
|
42 |
|
|
}
|
43 |
|
|
],
|
44 |
|
|
|
45 |
|
|
"marks": [
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
{
|
49 |
|
|
"type": "text",
|
50 |
|
|
"align": "center",
|
51 |
|
|
"baseline": "middle",
|
52 |
|
|
"encode": {
|
53 |
|
|
"enter": {
|
54 |
|
|
"text": {"signal": "text"},
|
55 |
|
|
"x": {"scale": "xscale", "value": 0},
|
56 |
|
|
"y": {"scale": "yscale", "value": 0},
|
57 |
|
|
"align": {"value": "center"},
|
58 |
|
|
"baseline": {"value": "middle"}
|
59 |
|
|
}
|
60 |
|
|
}
|
61 |
|
|
}
|
62 |
|
|
]
|
63 |
|
|
}
|