Skip to content

Commit 3a3f458

Browse files
committed
test bar font weight
1 parent 448eb80 commit 3a3f458

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed
51.4 KB
Loading
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"data": [
3+
{
4+
"hovertemplate": "Difficult -0.123456789 | %{text}",
5+
"texttemplate": "Difficult -0.123456789 | %{text}",
6+
"text": [
7+
"1 Minimum",
8+
"100 Thin (Hairline)",
9+
"200 Extra Light (Ultra Light)",
10+
"300 Light",
11+
"400 Normal (Regular)",
12+
"500 Medium",
13+
"600 Semi Bold (Demi Bold)",
14+
"700 Bold",
15+
"800 Extra Bold (Ultra Bold)",
16+
"900 Black (Heavy)",
17+
"950 Extra Black (Ultra Black)",
18+
"1000 Maximum"
19+
],
20+
"textposition": "right",
21+
"textfont": {
22+
"size": 12,
23+
"weight": [
24+
1,
25+
100,
26+
200,
27+
300,
28+
400,
29+
500,
30+
600,
31+
700,
32+
800,
33+
900,
34+
950,
35+
1000
36+
]
37+
},
38+
"x": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
39+
"y": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
40+
"type": "bar",
41+
"orientation": "h"
42+
}
43+
],
44+
"layout": {
45+
"showlegend": false,
46+
"margin": {
47+
"l": 0,
48+
"r": 0,
49+
"t": 0,
50+
"b": 0
51+
},
52+
"xaxis": {
53+
"range": [1.1, -0.1],
54+
"showticklabels": false,
55+
"showgrid": false,
56+
"zeroline": false
57+
},
58+
"yaxis": {
59+
"range": [11.5, -0.5],
60+
"showticklabels": false,
61+
"showgrid": false,
62+
"zeroline": false
63+
},
64+
"width": 400,
65+
"height": 600,
66+
"hovermode": "closest"
67+
}
68+
}

0 commit comments

Comments
 (0)