我有一个数组[["event",2],["status",30]]
作为系列数据。我想为每个数据添加向下钻取。我怎么能这样做?
series: [{
type: 'column',
name: 'Device Status',
data: <?php echo json_encode($rows)?> ,
drilldown: 'animals'
}],
drilldown: {
series: [{
id: 'animals',
data: [
['Cats', 4],
['Dogs', 2],
['Cows', 1],
['Sheep', 2],
['Pigs', 1]
]
}
] }