Always show Zero value in Leftaxis Labels

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ChZiegelt
Newbie
Newbie
Posts: 39
Joined: Thu Aug 09, 2007 12:00 am
Contact:

Always show Zero value in Leftaxis Labels

Post by ChZiegelt » Tue Oct 09, 2007 10:35 pm

Hi to all interested,

I have a problem to find a solution for this question.
I have a Chart with a line series of measurement data, representing a straightness measurement. Each point moves away slightly from a zero line.

How can I setup that ZERO as a value in the left Axis labeling always shows up.

Whether I use autoscaling or not, the zero value nearly never shows up.
I tryed to set the same maximum and minimum for the charts left axis, but that did not help eigther.

Any ideas on how to fix this ?
Any idea welcome !!
Thanks in advance.

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

Post by Narcís » Wed Oct 10, 2007 10:35 am

Hi ChZiegelt,

You can try setting MinimumOffset like this:

Code: Select all

  Chart1.Axes.Left.MinimumOffset:=10
An alternative would be using custom labels as shown in the All Features\Welcome!\Axes\Labels\Custom Labels example in the features demo. Which can be found at TeeChart's program group.

If the problem persists please send us a simple example project we can run "as-is" to reproduce the problem here. You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
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

Post Reply