If I have an X,Y line series, say with 15 points, ranging from x=0 to x=2.5 I only get 1 or two major gridlines at a LabelIncrement of 1 rather than a more natural 0.1 step. Examining the source I've tracked this down to TChartAxis.CalcLabelsIncrement which, if there are fewer points than labels, forces the increment to be at least 1. Commenting out the check leads to better looking graphs but I was wondering if the change will lead to some other more subtle errors as it was apparently added as recently as version 7.04.
Thanks,
Mal.
Number of labels in T8.02
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mal,
Not that I can think of now. It should only affect axes increment calculation.
Anyway, you can also set the increment manuallY:
Not that I can think of now. It should only affect axes increment calculation.
Anyway, you can also set the increment manuallY:
Code: Select all
Chart1.Axes.Bottom.Increment:=0.1;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Thanks for the quick reply. Setting the increment manually isn't really an option as the next time I create a graph the x-axis range may be something completely different and although I have code that does this (with TeeChart 3) one of the reasons I upgraded to T8 was the improved choice of label increments - apart from this anomolous case.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi mal,
Thanks for the feedback. I've added this to the wish-list to be reviewed for next releases.
Thanks for the feedback. I've added this to the wish-list to be reviewed for next releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |