jQuery UI Widgets › Forums › Chart › Pie chart drilldown
Tagged: Pie chart
This topic contains 9 replies, has 2 voices, and was last updated by Peter Stoev 10 years, 2 months ago.
-
AuthorPie chart drilldown Posts
-
Hi,
I had a issue with pie chart. Below is the jsfiddle link.
http://jsfiddle.net/spiral75/6R5qg/13/
Steps to reproduce:
1. Click on any country (like china).
2. Remove Keith from legend (which has same color as china).
3. Now click on peter (it will take you to parent chart).
4. In the resulting page, china is getting disappeared, since the same color is removed. Is there any way for china to be present ?Thanks
SpiralHi Spiral,
According to me, the custom Drill Down which you tried to implement should use different instances of jqxChart which you dynamically show and hide. By hiding the legend on click, it will be hidden after you update the chart, too, unless you click it again. I hope that you will use my suggestion.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks peter. Also Is there any way through which we can identify which color of legend was removed so that we can reset it before moving another chart.
Hi Peter,
Any help on above..Thanks
SpiralHi Spiral,
As far as I know, there is no way to reset it unless you click on it. According to me, use the approach which I suggested you.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks Peter. Also peter, if we hover mouse over china, then tooltip is displayed, and before tooltip vanishes, if we drill down china, then the tooltip of china is there permanently. Is there any solution for this.
Thanks
SpiralHi Spiral,
We don’t have API for closing an opened Chart tooltip.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks Peter. At present we are using jqwidgets version 3.1.0. Upgradation is not possible at this time. The solution specified above to use different instances of jqChart is working fine on version 3.4.0. Its implemented at http://jsfiddle.net/spiral75/E8sRA/, but its not working on version 3.1.0, even on deleting div and creating a new div dynamcially, the removed color is vanishing on drilldown. Is there any quick solution for this.
Thanks
SpiralHi Peter,
Any help on above.Thanks
SpiralHi Spiral,
Sorry, but I can’t provide a workaround for something which is not supported by jqxChart and which represents a custom scenario specific to your application using an old version of jQWidgets. I would suggest you to upgrade to the newest version as you already wrote that it works fine with it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.