可以在点击事件上更改相应栏的多值图表。 [英] Multivalue Chart which can change corresponding bar on click event.
问题描述
我需要创建可以由Jquery或C#代码创建的图表(Jquery首选)。图表必须是条形图。
例如。国家(美国,澳大利亚,德国)
1]首先在页面加载:国家/地区栏应该出现。 (国家只有1个堆叠栏)
2]点击任意国家:应该出现各州。 (现在,国家和州有2个堆栈栏)
3]点击任何州:应该出现相应的区域。 (现在,有3个堆叠条,包括区吧)
4]点击任何区:应该出现各个城市。 (现在,有4个堆叠条,包括城市酒吧)
所有条形图应该在同一个图表中,它会在点击相应值时更改图形。
我使用过JQPlot,High chart并且能够捕获onclick事件。我被卡住的一个点无法显示同一图表中的所有条形。
请参考任何链接或任何建议。
Hi,
I need to create chart which can be created by Jquery or C# code(Jquery preferred). A chart must be bar chart.
Eg. Country (US, Aus, Ger)
1] Firstly on page load : Bar for country should appear. (There is only 1 stack bar for country)
2]On Click of any country : Respective States should appear. (Now, There are 2 stack bars country & State )
3] On Click of any State : Respective District should appear. (Now, There are 3 stack bars including district bar )
4] On Click of any District : Respective City should appear. (Now, There are 4 stack bars including city bar )
All bar's should be in same chart and it will change graph on click of respective value.
I have used JQPlot, High chart and able to capture onclick event. A point where i am stuck is unable to show all bars in same chart.
Please refer any link or any suggestion.
这篇关于可以在点击事件上更改相应栏的多值图表。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!