Page 1 of 1

Set Labels on the left Axis...

Posted: Fri Nov 24, 2006 6:27 am
by 8577300
Hello Experts!!

How can I set the labels on the left Axis like in this case??

http://www.bos.at/downloads/Chart.jpg

In the picture I set 2 TJvStaticText-Labels manually and I also tried to do this with the TeeChart-Settings...I only can set the '+5'-label but the '-5'-label disappear...

Can you give me a tip??

Bye
Thomas

Posted: Fri Nov 24, 2006 6:59 am
by Marjan
Hi, Thomas.

Try with this:

Code: Select all

With Chart1.Axes.Left do
begin
  LabelsOnAxis := True;
  SetMinMax(-5.0, 5.0);
  Increment := 5.0;
end;

Posted: Fri Nov 24, 2006 7:33 am
by 8577300
Good morning Marjan,

thanks for your tipp!! I tried your code out... but like you see the label '-5' don't appear...

Image

Posted: Fri Nov 24, 2006 8:59 am
by 8577300
When the min-value of the label is >=0 than the min-label appear on the chart. It seems that there is a problem with neg. min-values??!! :?:

Posted: Fri Nov 24, 2006 10:07 am
by Marjan
Which TeeChart version are you using ?

Posted: Fri Nov 24, 2006 10:22 am
by 8577300
TeeChart Pro v6.01

Posted: Mon Nov 27, 2006 11:58 am
by 8577300
Are there any news for my problem??