|
4 | 4 | { |
5 | 5 | "legendrank": 2, |
6 | 6 | "legendgroup": "pie", |
| 7 | + "legendgrouptitle": { "text": "Next pie" }, |
7 | 8 | "type": "pie", |
8 | 9 | "labels": ["a","b","c","c","c","a"], |
9 | 10 | "textinfo": "none", |
|
15 | 16 | { |
16 | 17 | "legendrank": 1, |
17 | 18 | "legendgroup": "pie", |
| 19 | + "legendgrouptitle": { "text": "Pie" }, |
18 | 20 | "type": "pie", |
19 | 21 | "labels": ["z","x","x","x","y", "y"], |
20 | 22 | "sort": false, |
|
25 | 27 | } |
26 | 28 | }, |
27 | 29 | {"type": "scatter", "name": "2", "y": [2], "yaxis": "y", "legendgroup": "one", "legendrank": 2}, |
28 | | - {"type": "scatter", "name": "1", "y": [1], "yaxis": "y", "legendgroup": "one", "legendrank": 1}, |
29 | | - {"type": "bar", "name": "2", "y": [2], "yaxis": "y2", "legendgroup": "two", "legendrank": 2}, |
30 | | - {"type": "scatter", "name": "3", "y": [3], "yaxis": "y", "legendgroup": "one", "legendrank": 3}, |
| 30 | + {"type": "scatter", "name": "1", "y": [1], "yaxis": "y", "legendgroup": "one", "legendrank": 1, "legendgrouptitle": { "text": "Down" }}, |
| 31 | + {"type": "bar", "name": "2", "y": [2], "yaxis": "y2", "legendgroup": "two", "legendrank": 2, "legendgrouptitle": { "text": "Up" }}, |
| 32 | + {"type": "scatter", "name": "3", "y": [3], "yaxis": "y", "legendgroup": "one", "legendrank": 3, "legendgrouptitle": { "text": "IGNORE ME!" }}, |
31 | 33 | {"type": "bar", "name": "3", "y": [3], "yaxis": "y2", "legendgroup": "two", "legendrank": 1} |
32 | 34 | ], |
33 | 35 | "layout": { |
|
36 | 38 | }, |
37 | 39 | "hovermode": "x unified", |
38 | 40 | "margin": { |
39 | | - "t": 50 |
| 41 | + "t": 50, |
| 42 | + "b": 25 |
40 | 43 | }, |
41 | 44 | "width": 300, |
42 | 45 | "height": 400, |
|
0 commit comments