Problem in displaying grid on TChart axis
Posted: Tue Jul 15, 2008 11:06 am
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
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