您能告诉我如何将plotOptions应用到highcharts中吗?我试过传递
plotOptions: {
column: {
groupPadding: 0,
pointPadding: 0,
borderWidth: 1
}
},
在drilldown: {
之后但它没有工作
drilldown: {
plotOptions: {
column: {
groupPadding: 0,
pointPadding: 0,
borderWidth: 1
}
},
series: [{
// type: 'pie',
id: 'animals',
data: [
['Cats', 4],
['Dogs', 2],
['Cows', 1],
['Sheep', 2],
['Pigs', 1]
]
}, {
id: 'fruits',
data: [
['Apples', 4],
['Oranges', 2]
]
}]
}
答案 0 :(得分:0)
您可以在系列对象中应用这些选项。
drilldown: {
series: [{
groupPadding: 0,
pointPadding: 0,
borderWidth: 1,
name: "Microsoft Internet Explorer",
id: "Microsoft Internet Explorer",
data: [
[
"v11.0",
24.13
],
[
"v8.0",
17.2
]
]
}]
}