Custom Label Separation Problems
Posted: Wed Oct 04, 2006 3:23 am
I've been using a stacked bar chart, which forced me to clear out and add my own X axis labels because I couldn't come up with an automatic way of displaying them with TeeChart.
The problem I'm having is that when I define my own labels (.GetLabels().Add(etc...)) TeeChart does not do the automatic label intervals when there are too many labels on the screen. I reeaally don't want to write the code to calculate the bounds/separation of the labels myself...
Does anyone know how I can have it auto-separate the labels even when you've added them yourself?
(I've tried OnGetAxisLabel - the fact that it is a stacked bar chart seems to cause problems with it, or at the very least, I cannot get the right labels to show up properly on the x axis).
Thanks for the help..
The problem I'm having is that when I define my own labels (.GetLabels().Add(etc...)) TeeChart does not do the automatic label intervals when there are too many labels on the screen. I reeaally don't want to write the code to calculate the bounds/separation of the labels myself...
Does anyone know how I can have it auto-separate the labels even when you've added them yourself?
(I've tried OnGetAxisLabel - the fact that it is a stacked bar chart seems to cause problems with it, or at the very least, I cannot get the right labels to show up properly on the x axis).
Thanks for the help..