Page 1 of 1

Points labels are displayed on the X axis?

Posted: Wed Jan 27, 2010 10:00 pm
by 10551621
Hello,
I have a plot of a time series like this :
sc1.jpg
Photo1
sc1.jpg (149.43 KiB) Viewed 3766 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 3760 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

Re: Points labels are displayed on the X axis?

Posted: Thu Jan 28, 2010 10:24 am
by yeray
Hi Yazou,

I think that you are looking for this:

Code: Select all

Chart1.Axes.Bottom.LabelStyle:=talValue;