diff --git a/test/sunburst-book.html b/test/sunburst-book.html index 8defa2055d9f0e2b6fca396b73fd382a6a8cd3c9..5471fb48c60f43c2ba827c728f919abce6a475ef 100644 --- a/test/sunburst-book.html +++ b/test/sunburst-book.html @@ -81,23 +81,23 @@ }] }] }, { - name: '绘本', + name: '其他', children: [{ name: '5☆', children: [{ - name: '设计诗' + name: '纳博科夫短篇小说全集' }] }, { name: '4☆', children: [{ - name: '假如生活糊弄了你' + name: '安魂曲' }, { - name: '博物学家的神秘动物图鉴' + name: '人生拼图版' }] }, { name: '3☆', children: [{ - name: '方向' + name: '比起爱你,我更需要你' }] }] }] @@ -306,14 +306,14 @@ chart.setOption({ color: colors, - title: { - text: '2017 读书记录', - bottom: 30, - left: 'center', - textStyle: { - color: colors[0] - } - }, + // title: { + // text: '2017 读书记录', + // bottom: 30, + // left: 'center', + // textStyle: { + // color: colors[0] + // } + // }, series: [{ type: 'sunburst', center: ['50%', '48%'], diff --git a/test/sunburst-drink.html b/test/sunburst-drink.html index cc15645881b54e2dc814f0c5f9a0825dc4ac3876..e3e8ffdda133ef0fc47d17987b875dd3370f86fa 100644 --- a/test/sunburst-drink.html +++ b/test/sunburst-drink.html @@ -912,7 +912,7 @@ highlightPolicy: 'ancestor', data: data, radius: [0, '95%'], - sortOrder: null, + sort: null, levels: [{}, { r0: '15%', r: '35%', diff --git a/test/sunburst-simple.html b/test/sunburst-simple.html new file mode 100644 index 0000000000000000000000000000000000000000..c210dc5ae34aedd68230ee52e65160a5c087a23d --- /dev/null +++ b/test/sunburst-simple.html @@ -0,0 +1,207 @@ + + + + + + + + +
+ + +