Changing X Axis Type From Category To Datetime On Drilldown
Is it possible to change a graph's x axis type from category to datetime on drilldown? I have stacked column style graph where each column is a different category. When I click on
Solution 1:
For someone still looking for answer. The solution is:
Define X-axis in an array:
xAxis: [{
id: 0,
type: 'category'
}, {
id: 1,
type: 'datetime'
}]
For each series in drilldown
drilldown: {
series: [{
name:"test",
id:"test",
xAxis:1, //<---yourdesiredXaxisIDdata: [
[yourdata]
]
}]
}
Solution 2:
Unforunately this option is not avaialble, you need to destroy and create new chart.
Post a Comment for "Changing X Axis Type From Category To Datetime On Drilldown"