Marks or Images

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Misti
Newbie
Newbie
Posts: 3
Joined: Wed Jul 21, 2004 4:00 am

Marks or Images

Post by Misti » Wed Sep 15, 2004 10:10 pm

I have a chart with the X-axis as longitude and the Y-axis as latitude. On this chart are several point series that depict lightning points. To this chart, I would like to add about 20 sensor points at specific lat-lon positions. They need to be labelled from '1' to '20'. At the same time, I want the axes values and labels to remain the latitude and longitude.

I have tried using AddXY with a new series and can place the points at the correct lat-lon as long as the label field is empty, '', but if I add text values to the label field, the X-Axis uses these :?: labels, not the longitude which I desire.

Is there any way to have text in the marks that is different from the axes labels? Or is there some other way to achieve the above objective?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Sep 16, 2004 7:33 am

Hi Misti,

how about setting the Axis label to talValue ? :
Chart1.Axes.Bottom.LabelStyle := talValue;

Misti
Newbie
Newbie
Posts: 3
Joined: Wed Jul 21, 2004 4:00 am

Marks or Images

Post by Misti » Tue Sep 21, 2004 4:47 pm

Hi Josep,

That works!

Thank you very much.

Misti :D

Post Reply