ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Gantt - Buttons in front of Labels
Posted by Fabian Sauer on May-18-2011 21:48
Attachments:
Hello,

has chartdirector the possibility to place a button with tree-functionality in front of the labels?

Could you please also have a look at the attached screenshot.

best regards
FS
Gantt_and_Btns.JPG

  Re: Gantt - Buttons in front of Labels
Posted by Peter Kwan on May-19-2011 00:19
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

  Re: Gantt - Buttons in front of Labels
Posted by Fabian Sauer on May-19-2011 01:05
Hi Peter,

many thanks for your quick reply.

Your idea is using an control instead of working with chartdirector. Perhaps its the best way.

What would you suggest to be the best way to position the bars on the correct hight?

First I must calculate the hight of my tree element and than convert it for chartdirector?