Drawing Vertical Line

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Drawing Vertical Line

Post by sunman4008 » Fri Feb 21, 2014 2:35 am

Hello,

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

-Mike

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Drawing Vertical Line

Post by Narcís » Fri Feb 21, 2014 10:18 am

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Re: Drawing Vertical Line

Post by sunman4008 » Fri Feb 21, 2014 1:45 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Drawing Vertical Line

Post by Narcís » Fri Feb 21, 2014 2:19 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Re: Drawing Vertical Line

Post by sunman4008 » Fri Feb 21, 2014 5:46 pm

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

sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Re: Drawing Vertical Line

Post by sunman4008 » Fri Feb 21, 2014 5:47 pm

Hello,

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

-Mike

sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Re: Drawing Vertical Line

Post by sunman4008 » Mon Feb 24, 2014 3:36 pm

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

sunman4008
Newbie
Newbie
Posts: 18
Joined: Tue Apr 09, 2013 12:00 am

Re: Drawing Vertical Line

Post by sunman4008 » Mon Feb 24, 2014 10:06 pm

Hello,

I figured it out.

-Manesh

Post Reply