8000 add long tick labels mocks · plotly/plotly.js@9548cc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9548cc1

Browse files
dyetpinard
authored andcommitted
add long tick labels mocks
1 parent dc00cf1 commit 9548cc1

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed
12.1 KB
Loading
18.3 KB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"data": [
3+
{
4+
"x": ["apples", "oranges", "bananananananas", "cantaloupeeeeww", "khljh"],
5+
"y": [8, 7, 6, 5, 4, 3, 2, 1, 0],
6+
"type": "scattergl",
7+
"fill": "tozeroy"
8+
}
9+
],
10+
"layout": {
11+
"width": 400,
12+
"height": 300,
13+
"showlegend": false
14+
}
15+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"data": [
3+
{
4+
"x": [0, 1, 2],
5+
"y": ["long long long string", "long long long string 2", "long long longstring 3"],
6+
"mode": "markers",
7+
"type": "scattergl"
8+
}
9+
],
10+
"layout": {
11+
"width": 600,
12+
"height": 500,
13+
"xaxis": {
14+
"ticklen": 2,
15+
"linecolor": "#d3d3d3", "mirror": true, "zeroline": false
16+
},
17+
"yaxis": {
18+
"ticklen": 2,
19+
"linecolor": "#d3d3d3", "mirror": true, "zeroline": false
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)
0