About the Axis----Labels
Posted: Thu Nov 20, 2008 9:43 am
Hello,
I have a couple of series(Series1,Series2).
The label style can be setted as this: "Chart1->LeftAxis->LabelStyle = talAuto;".
But I want to set "LabelStyle" of Series1 to "talNone";set "LabelStyle" of Series2 to "talAuto".
In a word ,TChart cann't set LabelStyle of each series.
To realize what I mentioned above I just did as the following codes.
So the labels of all the points of Series2 was showed.
But I can't change the "Format" of the labels of Series2 at the "Editing Chart".
_____________
Best regards
wwp
I have a couple of series(Series1,Series2).
The label style can be setted as this: "Chart1->LeftAxis->LabelStyle = talAuto;".
But I want to set "LabelStyle" of Series1 to "talNone";set "LabelStyle" of Series2 to "talAuto".
In a word ,TChart cann't set LabelStyle of each series.
To realize what I mentioned above I just did as the following codes.
Code: Select all
Chart1->LeftAxis->LabelStyle = talNone;
for(int i=0;i<100;i++)
{
Series2->addxy(i,i,inttostr(i));
}
But I can't change the "Format" of the labels of Series2 at the "Editing Chart".
_____________
Best regards
wwp