Highcharts, Can you change the chart type for drilldowns?
I would like to present a standard "column" chart initially and then drilldown to a "bar" chart, I have tried everything I could think of....
I assumed it would be set in the drilldown code, but doesnt seem to work this way. As in...
drilldown: {
type: 'pie',
name: 'Chart1',
categories ['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28'],
data: [1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8],
color: colors[0]
}
I don't know what have you tried, but you can do it.
Take a look my example.
Make sure you don't have a
type
defined for all your series. Referencecheck this:
Documentation
http://api.highcharts.com/highcharts#series
Original example
http://www.highcharts.com/demo/column-drilldown
try this example:
});
Well, I think it's enought if you define each serie's type
http://jsfiddle.net/ffc4jhb7/
Best regards