Page 1 of 1

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

Posted: Thu Nov 13, 2008 1:19 am
by 8574101
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]

Posted: Thu Nov 13, 2008 8:53 am
by narcis
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!

Posted: Fri Nov 14, 2008 12:21 am
by 8574101
Thanks,try to do it again