|
1 | 1 | { |
2 | | - "data": [{ |
3 | | - "type": "scatter", |
4 | | - "name": "loooooong x", |
5 | | - "x": [ |
6 | | - "short label 1", "loooooong label 1", |
7 | | - "short label 2", "loooooong label 2", |
8 | | - "short label 3", "loooooong label 3", |
9 | | - "short label 4", "loooooongloooooongloooooong label 4", |
10 | | - "short label 5", "loooooong label 5" |
11 | | - ], |
12 | | - "y": [ |
13 | | - "short label 1", "loooooong label 1", |
14 | | - "short label 2", "loooooong label 2", |
15 | | - "short label 3", "loooooong label 3", |
16 | | - "short label 4", "loooooong label 4", |
17 | | - "short label 5", "loooooong label 5" |
18 | | - ] |
19 | | - }, |
20 | | - { |
21 | | - "yaxis": "y2", |
22 | | - "type": "scatter", |
23 | | - "name": "loooooong y", |
24 | | - "x":["looooooooooooonger"], |
25 | | - "y":["loooooooo"] |
26 | | - } |
27 | | - ], |
| 2 | + "data": [ |
| 3 | + { |
| 4 | + "type": "scatter", |
| 5 | + "name": "loooooong x", |
| 6 | + "x": [ |
| 7 | + "short label 1", |
| 8 | + "loooooong label 1", |
| 9 | + "short label 2", |
| 10 | + "loooooong label 2", |
| 11 | + "short label 3", |
| 12 | + "loooooong label 3", |
| 13 | + "short label 4", |
| 14 | + "loooooongloooooongloooooong label 4", |
| 15 | + "short label 5", |
| 16 | + "loooooong label 5" |
| 17 | + ], |
| 18 | + "y": [ |
| 19 | + "short label 1", |
| 20 | + "loooooong label 1", |
| 21 | + "short label 2", |
| 22 | + "loooooong label 2", |
| 23 | + "short label 3", |
| 24 | + "loooooong label 3", |
| 25 | + "short label 4", |
| 26 | + "loooooong label 4", |
| 27 | + "short label 5", |
| 28 | + "loooooong label 5" |
| 29 | + ] |
| 30 | + }, |
| 31 | + { |
| 32 | + "yaxis": "y2", |
| 33 | + "type": "scatter", |
| 34 | + "name": "loooooong y", |
| 35 | + "x": ["looooooooooooonger"], |
| 36 | + "y": ["loooooooo"] |
| 37 | + } |
| 38 | + ], |
28 | 39 | "layout": { |
29 | | - "xaxis": {"title": "X Axis Title", "titlefont": {"size": 80}, "automargin": true}, |
30 | | - "yaxis": {"title": "Y Axis Title", "titlefont": {"size": 40}, "ticklen": 50, "automargin": true}, |
31 | | - "yaxis2": { |
32 | | - "title": "Y2 Axis Title", |
33 | | - "overlaying": "y", |
34 | | - "side": "right", "titlefont": {"size": 40}, "automargin": true |
35 | | - } |
36 | | - } |
| 40 | + "xaxis": { |
| 41 | + "title": "X Axis Title", |
| 42 | + "titlefont": { "size": 80 }, |
| 43 | + "automargin": true |
| 44 | + }, |
| 45 | + "yaxis": { |
| 46 | + "title": "Y Axis Title", |
| 47 | + "titlefont": { "size": 40 }, |
| 48 | + "ticklen": 50, |
| 49 | + "automargin": true |
| 50 | + }, |
| 51 | + "yaxis2": { |
| 52 | + "title": "Y2 Axis Title", |
| 53 | + "overlaying": "y", |
| 54 | + "side": "right", |
| 55 | + "titlefont": { "size": 40 }, |
| 56 | + "automargin": true |
| 57 | + } |
| 58 | + } |
37 | 59 | } |
0 commit comments