0
我正在尋找sub sub drill在我的圖表中,以下是相同的代碼。高分表中是否有子分鑽向下支持?
// Create the chart
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Highcharts multi-series drilldown'
},
subtitle: {
text: 'Click columns to drill down to single series. Click categories to drill down both.'
},
xAxis: {
type: 'category'
},
plotOptions: {
series: {
borderWidth: 0,
dataLabels: {
enabled: true
}
}
},
series: [
{
name: '2010',
data: [{
name: 'Republican2',
y: 5,
drilldown: 'republican-2010'
}]
}
],
drilldown: {
series: [
{
name: 'Republican3',
id: 'republican-2010',
data: [{
name: 'test',
y: 3,
drilldown: 'republican-2080'
}]
}
],
drilldown: {
series: [{
id: 'republican-2080',
data: [
['East', 4],
['West', 2],
['North', 1],
['South', 4]
]
}]
}
},// End Main drill down
});
它工作正常,直到第一次鑽取,我跟隨主鑽取結構獲得子分鑽。 不知道,如果它通過高圖表支持,或者我做錯了什麼..
任何幫助,將撥出..
感謝拉胡爾,它按預期工作。 – Ajoshi