//chart的数据格式,xChart中所有的图表数据格式都是这样的二维数组, var data = [{sets : [0], label : '中路', size : 28,}, {sets : [1], label : '上路', size: 35}, {sets : [2], label : '下路', size : 108}, {sets : [3], label : '打野', size:106}, {sets : [0,1], size:1}, {sets : [0,2], size:1}, {sets : [0,3], size:14}, {sets : [1,2], size:6}, {sets : [1,3], size:0}, {sets : [2,3], size:1}, {sets : [0,2,3], size:1}, {sets : [0,1,2], size:0}, {sets : [0,1,3], size:0}, {sets : [1,2,3], size:0}, {sets : [0,1,2,3], size:0} ] var options = { }; Chartx.venn("canvasTest" , data , options).then(function( chart ){ });
韦恩图(venn chart)- 多关系韦恩图
联系人:@释剑