Page 1 of 1

Left Axis Labels sometimes overwrites Left Axes Title

Posted: Wed Jun 15, 2005 7:30 am
by 8119904
This happpens with A Vertical Title and formatted Labels which are aligned to the left. If the Labels have different length (9 ; 9.5 ; 10 ; 10.5)
then the TChart Algorithm to calculate the Distance to the Axes-Label seems to fail. Zooming to a different Y-Position it can be corrected.
The Algorithm seems to ralate to the length of the topmost Number.
Here (9 ; 9.5 ; 10 ; 10.5) we have 4 different lengths and especially 10.5 couse a negative distance.

Is there a workaround? (to align the Labels to the right is not an option because we need the Decimal Points aligned)

Posted: Wed Jun 15, 2005 9:23 am
by narcis
Hi MarkusS,

I haven't been able to reproduce what you report here using last TeeChart version available at our Customer Download Area (Build 1.1.1879.21176). Which version are you using? Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.

Posted: Thu Jun 16, 2005 3:14 pm
by narcis
Hi Markus,

Thanks for your example.

I've been able to reproduce your problem using your application but not able reproducing it in a new example. Could you please tell me which settings did you use to create that example?

Thanks in advance.

Posted: Mon Jun 20, 2005 11:23 am
by narcis
Hi Markus,

I've been able to guess where the problem comes from. The problem is the combination of your left axis maximum value and maximum offset. I've already included this bug to our defect list to be fixed for future releases.

In the meantime, the easiest way to solve it is increasing your axis labels size (TChart1.Axes.Left.Labels.CustomSize = 35). You could also try increasing left axis maximum value and setting a negative offset.