Points labels are displayed on the X axis?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Yazou
Newbie
Newbie
Posts: 9
Joined: Fri Jan 30, 2009 12:00 am

Points labels are displayed on the X axis?

Post by Yazou » Wed Jan 27, 2010 10:00 pm

Hello,
I have a plot of a time series like this :
sc1.jpg
Photo1
sc1.jpg (149.43 KiB) Viewed 3801 times
I want want to a add some events to this plot. So I create a pointseries ser1 and I added two points with labels to it:
ser1->AddXY(1.4,1000,"Event1");
ser1->AddXY(2.6,1500,"Event2");

I got this image :
sc4.jpg
Photo2
sc4.jpg (112.9 KiB) Viewed 3795 times
Why the numerical values on the X axis labels are replaced with the labels of the second series ?
Can I add the pointseries with labels (to show them inside markers) without displying the labels on the X axis ?
Best regards,
Yazou

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Points labels are displayed on the X axis?

Post by Yeray » Thu Jan 28, 2010 10:24 am

Hi Yazou,

I think that you are looking for this:

Code: Select all

Chart1.Axes.Bottom.LabelStyle:=talValue;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply