Page 1 of 1

Gantt Chart questions?

Posted: Thu Jul 23, 2009 8:15 am
by 13052823
Hi,
Ihave the attached picture I created by using Gantt.
My question:

Q1) How I can the X-Axis measured by Microseconds? i.e: I have the blue bar with length 6000 microsecond because I plot it like (600)?

Q2) Can I flip the Tchart to by vertical not horizontal?

Q3) How I can add two moveable cursors to measure the length of any bar?

Q4) how I can set link between the bars to make them come one after each ? i.e: link from the end tail of each bar to the next one and so ,

Q5) can I plot the same picture with any other type of charts like the histogram for example?
Kind Regards,
Rabbit!

Re: Gantt Chart questions?

Posted: Thu Jul 23, 2009 1:52 pm
by narcis
Hi Rabbit,
Q1) How I can the X-Axis measured by Microseconds? i.e: I have the blue bar with length 6000 microsecond because I plot it like (600)?
You should do as in the All Features\Welcome !\Axes\Labels\Showing milliseconds example at the features demo, available at TeeChart's program group. Then you should set labels format to display in microseconds. You may also be interested in this Custom Date and Time Format Strings article.
Q2) Can I flip the Tchart to by vertical not horizontal?
I'm afraid not. Most series are displayed in a vertical fashion though. Most standard series also have an horizontal equivalent, for example: HorizLine, HorizBar, etc.
Q3) How I can add two moveable cursors to measure the length of any bar?
The easiest way I can think of is using ColorBand or Cursor tools for that. You'll find examples at All Features\Welcome !\Tools in the features demo. Cursor tools can snap to points while ColorBands already have a stard and end value which can be substracted to get bar's length.
Q4) how I can set link between the bars to make them come one after each ? i.e: link from the end tail of each bar to the next one and so ,
You need to use NextTask values as in the examples here.
Q5) can I plot the same picture with any other type of charts like the histogram for example?
For doing something like a Gantt chart with and Histogram series you would need to be able to supply start and end values to it. Using vertical series you can use Bar3D series as demoed in
All Features\Welcome !\Chart styles\Other\Bar 3D
Hope this helps!

Re: Gantt Chart questions?

Posted: Thu Jul 23, 2009 2:21 pm
by 13052823
MAny Thanks!