Page 1 of 1

How to add auxiliary lines between vertical linesin teechart

Posted: Wed Dec 21, 2011 11:34 am
by 14049736
HI,
How can I add auxiliary lines in tee chart in between all major vertical lines? We have to separate the display area of trend into 8 vertical and 5 horizontal lines and also need to display 2 auxiliary lines in between each vertical line. How do I exactly split the x axis into 8 time spans?

For more information:
The X-axis contains the date time value and the user can customized the scale of date time to 1hr, 2hr, 4hr and 24hr. If the user selects 1hr or 24hr then the trend will plot 8 minutes or 8 days data respectively. Suppose the user select 1 hour, then we want to display the time in this fashion: 1:00, 2:00, 3:00 ……. 8:00

Thanks in advance
Subin

Re: How to add auxiliary lines between vertical linesin teechart

Posted: Thu Dec 22, 2011 9:23 am
by 10050769
Hello vijay,
How can I add auxiliary lines in tee chart in between all major vertical lines? We have to separate the display area of trend into 8 vertical and 5 horizontal lines and also need to display 2 auxiliary lines in between each vertical line.
You have some options to draw auxiliary lines in TeeChart and I suggest two:
1.- Using DrawLine Tool. You can find some examples in All Features\Welcome !\Tools\Draw Lines
2.- Do custom Drawing where you draw lines in AfterDraw Event.
How do I exactly split the x axis into 8 time spans?
I suggest use Axis Break Tool where you can find an example in Demo projects, Welcome !\New Chart Tools\Axis Break Tool. Also, other option to you is, use custom axes and you can find examples in All Features\Welcome !\Axes\Scrolling multiple axes, All Features\Welcome !\Axes\Opaque zones and All Features\Welcome !\Axes\Permanent custom axes.

I hope will helps. If you have some questions please let me know.

Thanks,