I want to add some custom marks at the bottom axis.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
wwp3321
Newbie
Newbie
Posts: 60
Joined: Wed Jul 02, 2003 4:00 am

I want to add some custom marks at the bottom axis.

Post by wwp3321 » Thu Nov 13, 2008 1:19 am

Q1:I want to add some custom marks at some points at the bottom axis,which like the marked part in the following picture .Is there any way to do that ?


[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]


Q2:Q2 is similar to Q1.
I want to paint some vertical lines at some points at the bottom axis
that like the marked part in the following picture.
[img]
http://img1.freep.cn/p.aspx?u=v20_img1_ ... 103843.jpg
[/img]

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

Post by Narcís » Thu Nov 13, 2008 8:53 am

Hi wwp3321,
Q1:I want to add some custom marks at some points at the bottom axis,which like the marked part in the following picture .Is there any way to do that ?
You can do that using custom axis labels as shown in the All Features\Welcome!\Axes\Labels\Custom Labels in the new features demo, available at TeeChart's program group.

For painting the ticks as in your image you can set its length to a negative value, for example:

Code: Select all

  Chart1.Axes.Left.TickLength:=-15;
Q2:Q2 is similar to Q1.
I want to paint some vertical lines at some points at the bottom axis
that like the marked part in the following picture
You can use ColorLine tool for that. You'll find examples at All Features\Welcome!\Tools\Color Line in the new features demo.

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

wwp3321
Newbie
Newbie
Posts: 60
Joined: Wed Jul 02, 2003 4:00 am

Post by wwp3321 » Fri Nov 14, 2008 12:21 am

Thanks,try to do it again

Post Reply