Hi,
I am setting Axis.Increment property on axis to show the minimum steps
of increment or intervals.
Example:
Setting min/max for axis using SetMinMax method(min-0, max-100)
Setting axis's Increment property as 10.
Accordingly, an axis should get divided into 10 scale points . Like
0-10,10-20,20-30,30-40,40-50,50-60,60-70,70-80,80-90,90-100
But result is
0-20,20-40,40-60,60-80,80-100
Means, instead of showing interval of 10, it is showing interval of 20.
If I am setting axis's Increment property as 15, everything is fine and if
below 15, then it is showing wrong axis scale.
Please help.
-Raed
Problem in displaying grid on TChart axis
-
- Newbie
- Posts: 57
- Joined: Mon Nov 19, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Raed,
This is most likely because if setting an increment lower to 15 labels would overlap and TeeChart automatically sets itself to an increment were labels don't overlap.
If you want to force a lower increment you'll need to use custom labels as shown in the example at All Features\Welcome!\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
This is most likely because if setting an increment lower to 15 labels would overlap and TeeChart automatically sets itself to an increment were labels don't overlap.
If you want to force a lower increment you'll need to use custom labels as shown in the example at All Features\Welcome!\Axes\Labels\Custom labels in the features demo, available at TeeChart's program group.
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 |
-
- Newbie
- Posts: 57
- Joined: Mon Nov 19, 2007 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Raed,
Yes, you can also see grid lines in the custom labels at the example I pointed.
Yes, you can also see grid lines in the custom labels at the example I pointed.
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 |