Custom Labels
Posted: Thu Sep 11, 2008 6:48 am
I've recently upgraded from Version 7 standard to Version 8 Pro, and my usage of custom labels seems to have become broken.
I'm trying to swap between tchart's automatic labelling and a different scheme of mine. It seems like the automatic/default labels are now contained within the axis items list.
What I used to do was do something like 'LeftAxis->Items->Add(50);' To get custom labels, and 'LeftAxis->Items->Clear();' to remove them and revert to tchart's automatic labelling.
Now when I make that Clear call it removes all the TChart automatic/default labels as well and I can't find a way to bring them back. I've tried fiddling with the label properties LabelStyle = talAuto;
Increment = 0; Labels = true; etc.
Nothing seems to make them come back. Has the functionality for this changed? I thought this list was normally empty and only used for my custom labels?
In the help it specifically says that the Clear() method 'Removes all custom axis label objects from list.
Axis will display all labels using default properties.'
So, at the moment I'm confused as to whether this is 'upgraded' behavior or an actual error. Does anyone know what is meant to happen here?
I'm trying to swap between tchart's automatic labelling and a different scheme of mine. It seems like the automatic/default labels are now contained within the axis items list.
What I used to do was do something like 'LeftAxis->Items->Add(50);' To get custom labels, and 'LeftAxis->Items->Clear();' to remove them and revert to tchart's automatic labelling.
Now when I make that Clear call it removes all the TChart automatic/default labels as well and I can't find a way to bring them back. I've tried fiddling with the label properties LabelStyle = talAuto;
Increment = 0; Labels = true; etc.
Nothing seems to make them come back. Has the functionality for this changed? I thought this list was normally empty and only used for my custom labels?
In the help it specifically says that the Clear() method 'Removes all custom axis label objects from list.
Axis will display all labels using default properties.'
So, at the moment I'm confused as to whether this is 'upgraded' behavior or an actual error. Does anyone know what is meant to happen here?