Bar Position/Width problems - v8.08 & D2007
Posted: Wed Jun 15, 2011 11:44 am
Hi
I've been having lots of problems with bars either being clipped left and right, or having too much free space either side on the bottom axis.
The problems appeared when I upgraded from 8.06 to 8.08.
If I add one bar series (2D or 3D) to new chart and set to it 12 points on a form sized to 800x600 I will see on the bottom axis values from -1 to 12 - where my 12 bars occupy positions 0 to 11. If I increase the form size to 1920x1200 the positions are fine and the extra axis values disappear.
I notice that the default values of Minimum & Maximum for the bottom axis have been set to 66. If I change them both to 30 then the chart looks fine at 800x600 - but if I increase the size to 1920x1200 then both the leftmost and rightmost bars are clipped.
If I create a bar series with 3 points at 800x600 and (changing nothing) increase to 1920x1200 then the two side bars are clipped. The problem is worse with multiple unstacked series in 3D (shown behind each other).
The problem can be seen in the compiled copy of "Tee8New.exe" - just go to the standard bar chart (under "All features") and change the number of points to 3 for all series - then maximise the form (on my PC to 1920x1200) and the bars at either side are clipped.
No single value of BottomAxis.Minimum and Maximum works for all sizes. It may be possible to calculate a value using chart size and number of points, but I would hope this would work "out of the box"! Is there some other property I can change that will fix this for all sizes and what changed from v8.06?
This is causing me problems with customers complaining that charts which looked fine previously are now not worth printing.
A solution would be much appreciated.
Regards,
Jamie
I've been having lots of problems with bars either being clipped left and right, or having too much free space either side on the bottom axis.
The problems appeared when I upgraded from 8.06 to 8.08.
If I add one bar series (2D or 3D) to new chart and set to it 12 points on a form sized to 800x600 I will see on the bottom axis values from -1 to 12 - where my 12 bars occupy positions 0 to 11. If I increase the form size to 1920x1200 the positions are fine and the extra axis values disappear.
I notice that the default values of Minimum & Maximum for the bottom axis have been set to 66. If I change them both to 30 then the chart looks fine at 800x600 - but if I increase the size to 1920x1200 then both the leftmost and rightmost bars are clipped.
If I create a bar series with 3 points at 800x600 and (changing nothing) increase to 1920x1200 then the two side bars are clipped. The problem is worse with multiple unstacked series in 3D (shown behind each other).
The problem can be seen in the compiled copy of "Tee8New.exe" - just go to the standard bar chart (under "All features") and change the number of points to 3 for all series - then maximise the form (on my PC to 1920x1200) and the bars at either side are clipped.
No single value of BottomAxis.Minimum and Maximum works for all sizes. It may be possible to calculate a value using chart size and number of points, but I would hope this would work "out of the box"! Is there some other property I can change that will fix this for all sizes and what changed from v8.06?
This is causing me problems with customers complaining that charts which looked fine previously are now not worth printing.
A solution would be much appreciated.
Regards,
Jamie