option = {
legend: {},
tooltip: {
},
// dataset: {
// "source": [
// [ '产品1', 1],
// [ '产品3', 9],
// ]
// },
dataset: {
"source": [
[ "xxxxxx", "yyyyyy"],
[ '产品1', 1],
[ '产品3', 9],
]
},
xAxis: {type: 'category'},
yAxis: {gridIndex: 0},
grid: {top: '55%'},
series: [
{
type: 'pie'
}
]
};