Skip to content

Commit 66b45ab

Browse files
committed
style up sunburst values mock a bit more
1 parent c1ccad6 commit 66b45ab

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
-6.02 KB
Loading

test/image/mocks/sunburst_values.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,22 @@
66
"labels": ["Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
77
"parents": ["", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
88
"values": [10, 14, 12, 10, 2, 6, 6, 1, 4],
9-
"domain": {"x": [0, 0.48]}
9+
"domain": {"x": [0, 0.48]},
10+
"outsidetextfont": {"size": 20, "color": "#377eb8"},
11+
"leaf": {"opacity": 0.4},
12+
"marker": {"line": {"width": 2}}
1013
},
1114
{
1215
"type": "sunburst",
1316
"name": "with branchvalues:total",
17+
"branchvalues": "total",
1418
"labels": ["Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
1519
"parents": ["", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
1620
"domain": {"x": [0.52, 1]},
1721
"values": [65, 14, 12, 10, 2, 6, 6, 1, 4],
18-
"branchvalues": "total"
22+
"outsidetextfont": {"size": 20, "color": "#377eb8"},
23+
"leaf": {"opacity": 0.4},
24+
"marker": {"line": {"width": 2}}
1925
}
2026
],
2127
"layout": {

0 commit comments

Comments
 (0)