Skip to content

Commit

Permalink
formatting of mock
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Mar 1, 2018
1 parent 504d133 commit ae6ec95
Showing 1 changed file with 56 additions and 34 deletions.
90 changes: 56 additions & 34 deletions test/image/mocks/long_axis_labels.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,59 @@
{
"data": [{
"type": "scatter",
"name": "loooooong x",
"x": [
"short label 1", "loooooong label 1",
"short label 2", "loooooong label 2",
"short label 3", "loooooong label 3",
"short label 4", "loooooongloooooongloooooong label 4",
"short label 5", "loooooong label 5"
],
"y": [
"short label 1", "loooooong label 1",
"short label 2", "loooooong label 2",
"short label 3", "loooooong label 3",
"short label 4", "loooooong label 4",
"short label 5", "loooooong label 5"
]
},
{
"yaxis": "y2",
"type": "scatter",
"name": "loooooong y",
"x":["looooooooooooonger"],
"y":["loooooooo"]
}
],
"data": [
{
"type": "scatter",
"name": "loooooong x",
"x": [
"short label 1",
"loooooong label 1",
"short label 2",
"loooooong label 2",
"short label 3",
"loooooong label 3",
"short label 4",
"loooooongloooooongloooooong label 4",
"short label 5",
"loooooong label 5"
],
"y": [
"short label 1",
"loooooong label 1",
"short label 2",
"loooooong label 2",
"short label 3",
"loooooong label 3",
"short label 4",
"loooooong label 4",
"short label 5",
"loooooong label 5"
]
},
{
"yaxis": "y2",
"type": "scatter",
"name": "loooooong y",
"x": ["looooooooooooonger"],
"y": ["loooooooo"]
}
],
"layout": {
"xaxis": {"title": "X Axis Title", "titlefont": {"size": 80}, "automargin": true},
"yaxis": {"title": "Y Axis Title", "titlefont": {"size": 40}, "ticklen": 50, "automargin": true},
"yaxis2": {
"title": "Y2 Axis Title",
"overlaying": "y",
"side": "right", "titlefont": {"size": 40}, "automargin": true
}
}
"xaxis": {
"title": "X Axis Title",
"titlefont": { "size": 80 },
"automargin": true
},
"yaxis": {
"title": "Y Axis Title",
"titlefont": { "size": 40 },
"ticklen": 50,
"automargin": true
},
"yaxis2": {
"title": "Y2 Axis Title",
"overlaying": "y",
"side": "right",
"titlefont": { "size": 40 },
"automargin": true
}
}
}

0 comments on commit ae6ec95

Please sign in to comment.