We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0440f commit 9075d94Copy full SHA for 9075d94
test/image/baselines/zz-treemap_multi-line_headers.png
10.3 KB
test/image/mocks/zz-treemap_multi-line_headers.json
@@ -0,0 +1,41 @@
1
+{
2
+ "data": [
3
+ {
4
+ "labels": [
5
+ "parent2",
6
+ "parent1<br>Long text on second line",
7
+ "item2",
8
+ "item1"
9
+ ],
10
+ "name": "",
11
+ "parents": [
12
+ "",
13
14
15
+ "parent1<br>Long text on second line"
16
17
+ "values": [
18
+ 0,
19
20
+ 200,
21
+ 500
22
23
+ "type": "treemap",
24
+ "textposition": "middle center",
25
+ "texttemplate": "<b>%{label}</b>",
26
+ "textfont": {
27
+ "size": 20
28
+ }
29
30
31
+ "layout": {
32
+ "margin": {
33
+ "t": 50,
34
+ "b": 10,
35
+ "l": 10,
36
+ "r": 10
37
+ },
38
+ "height": 200,
39
+ "width": 500
40
41
+}
0 commit comments