Hi Fabian,
To provide "tree-functionality", you would need to use a control designed for this purpose. As far as I know, almost all GUI frameworks have this control. For example, if you are using Java SWING, you may use JTree. If you are using the .NET framework, you may use TreeView.
When the user clicks on the "Tree Control", the text will expand. Your code will then need to update the chart to show the bars for the expanded text.
Hope this can help.
Regards
Peter Kwan |