Using hierarchical datas, I would like to allow users to be able to select an item to view its corresponding subitems.
Example :
Item A
-> SubItem1
-> SubItem2
-> SubItem3
Item B
-> SubItem4
-> SubItem5
PieChart shows Item A and Item B. If Item1 is clicked, PieChart is reloaded and shows SubItem1, SubItem2 and SubItem3. If Item2 is clicked, PieChart is reloaded and shows SubItem4 and SubItem5.
How do I load my datasource ? Should I create a serie for Item A (ItemA, SubItem1, SubItem2, SubItem3) and one for Item B, or should I create one for first level (Item A, Item B) and each subitem group?
Is there a way to select which serie is currently displayed?
Thank you very much :)