Page 1 of 1

Drawing Vertical Line

Posted: Fri Feb 21, 2014 2:35 am
by 16565592
Hello,

How do you draw a series of Vertical lines giving just the Date for the X-axis?

-Mike

Re: Drawing Vertical Line

Posted: Fri Feb 21, 2014 10:18 am
by narcis
Hi Mike,

You have several options here:

1. If those lines are at a regular interval (see axis Increment property), you could use bottom axis grid lines setting them to the desires pen style (eg.: Chart1.Axes.Bottom.Axis.Style:=psSolid;). For more information on axis settings please read tutorial 4. Tutorials can be found at TeeChart's program group.
2. Alternatively you could use custom axis labels, as shown at the All Features\Welcome!\Axes\Labels\Custom Labels example in the new features demo. Axis labels would generate corresponding grid lines. Demo can be found at TeeChart's program group as well.
3. Finally, you could use ColorLine tools. You will find some examples at All Features\Welcome!\Tools\Color Line.

Hope this helps!

Re: Drawing Vertical Line

Posted: Fri Feb 21, 2014 1:45 pm
by 16565592
Hello,

Sorry but I can't find the All Features\Welcome!\Tools\?

Is that on the website? Directory? I checked in my computer and I don't see anything.

-M

Re: Drawing Vertical Line

Posted: Fri Feb 21, 2014 2:19 pm
by narcis
Hello,

This is a compiled called Tee9New.exe. It's only included with the binary installers. We recommend source code customers to first run binary installers to get examples and documentation and after that install source code.

Re: Drawing Vertical Line

Posted: Fri Feb 21, 2014 5:46 pm
by 16565592
Hello,

Ok...I found it.

How do I access this tool now on my chart? I don't see how I can add it to my chart or add it to the Chart1 series?

-Mike

Re: Drawing Vertical Line

Posted: Fri Feb 21, 2014 5:47 pm
by 16565592
Hello,

Sorry...the Tools_ColorLine is what I need.....

-Mike

Re: Drawing Vertical Line

Posted: Mon Feb 24, 2014 3:36 pm
by 16565592
Hello,

Let me summarize everything. I have using Delphi RAD X2. I was using the Teechart 2012 and just upgraded it to the 2013 latest release. My program is Tchart and I just want to draw some simple vertical lines. I see the example in Tee96.exe for TColorLine. The example shows SourceCode and forum. I understand it.. However, I don't see TColorLine in my program. I double click the chart and I Drawline but I dont' know how to reference and active TColorLine structure.

How can I add this tool? I don't see it anywhere?

-Manesh

Re: Drawing Vertical Line

Posted: Mon Feb 24, 2014 10:06 pm
by 16565592
Hello,

I figured it out.

-Manesh