Numbers on Y Axis get trimmed off
Posted: Tue Sep 04, 2012 9:18 am
Hi,
I want to show a very small chart (size 400 x 300). When I add only one data point with a float value on the Y Axis, this float value gets trimmed on the left side.
From the moment that I add a second data point, the values are shown correctly.
Why is this value trimmed when I have only one data point?
I made a very small C# project to reproduce this issue.
This is what I did:
TChart chut;
chut.Aspect.View3D = false;
line = new Steema.TeeChart.Styles.Line(chut.Chart);
line.Add(1, 105487.648984894);
and the TChart is added with a maximum size set to 400 x 300.
You can see the result in the attached screenshot.
I can also send you the complete C# project if that could be helpful. But where do I put that zip file?
Kind regards,
Marijke.
I want to show a very small chart (size 400 x 300). When I add only one data point with a float value on the Y Axis, this float value gets trimmed on the left side.
From the moment that I add a second data point, the values are shown correctly.
Why is this value trimmed when I have only one data point?
I made a very small C# project to reproduce this issue.
This is what I did:
TChart chut;
chut.Aspect.View3D = false;
line = new Steema.TeeChart.Styles.Line(chut.Chart);
line.Add(1, 105487.648984894);
and the TChart is added with a maximum size set to 400 x 300.
You can see the result in the attached screenshot.
I can also send you the complete C# project if that could be helpful. But where do I put that zip file?
Kind regards,
Marijke.