英文:
How to create two different chart with drilldown in highchart
问题
Initially I want to show line chart
And show column chart after drill down specific point
Expected Result:
For Answer check my js field link
https://jsfiddle.net/hx6scbuy/4/
英文:
Initially I want to show line chart
And show column chart after drill down specific point
Expected Result:
For Answer check my js field link
答案1
得分: 1
这很简单,在Highcharts官方网站上,你可以找到一个几乎现成的解决方案,你只需要将主要系列的类型更改为线性(type: 'line'
),将下钻系列的类型更改为柱状图(type: 'column'
)。
演示: https://jsfiddle.net/BlackLabel/0pbjkmtd/ <br/>
API: https://api.highcharts.com/highcharts/drilldown
英文:
It's quite simple, on the official website of Highcharts you have a practically ready solution, all you need to do is change the type of the main series to linear (type: 'line'
) and for the drilldown series to column (type: 'column'
).
Demo: https://jsfiddle.net/BlackLabel/0pbjkmtd/ <br/>
API: https://api.highcharts.com/highcharts/drilldown
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论