Apache OpenOffice (AOO) Bugzilla – Issue 33849
Y axis Autoscale works incorrectly if some error indicators are on
Last modified: 2013-02-24 21:22:22 UTC
If in a graphics, the error indicators (type: "constant value") are switched visible, the diagram is displayed in a strangely compressed way, because the y-axis autoscale obviously does not work correctly. Since this error is also affected by the TYPE of error indicator selected (upper, lower or both), it seems, that OOo Calc overestimates the space needed for this type of "constant value" error indicators (by a factor of 30 or so). Currently the workaround is to set the y-axis' min and max values manually. Found in OOo1.1.2 (German) under WinXP.
Created attachment 17551 [details] An example chart with its y axis scaled wrongly
Wrong component, I've changed it. Frank
Hi Matthias, please attach the whole doc. thanks
Siranush Sarkizova 09/23/04 I was able to reproduce the bug on OpenOffice 1.1.3. Here us the procedure sequence i followed: 1. Download the attached file data.sxc 2. Open the file with OpenOffice 3. Highlight cells A1:A6 and B1:B6 4. Go to Insert -> Chart (AutoFormat Chart window comes up) 5. Click Next 6. Chose a XY-chart type and click Next again 7. Click Next 8. Click Create (the graph that you created should pop up on your spreadsheet) 9. Go to Insert -> Statistics (Statistics window comes up) 10. Chose Constant Value as a error category 11. Chose Top and Bottom Indicator as error indicator 12. Chose Liner Regression as a regression curve 13. Click OK Notice that the y axis scale and range does not correspond to the initial data values. I have also plotted a chart with different values and concluded that the bug is not dependent on the exact figures. Also in step 11 if another type of error indicator is selected (Lower Indicator or Upper Indicator) the misbehavior persists as matthiasbasler states. Configuration: Windows XP Pro 1.2 GHz AMD Athlon 376 MB
Created attachment 17892 [details] Input data for creating a chart
kla->Siranush Sarkizova: thank you for the description kla->bm: for you
Sorry I didn't respond until now - my email was wrong so I got no message (fixed now). I cannot send the original data, but have created a sample document that shows that the diagram's y-axis scale is totally wrong if the fixed-value error bars are on. One data point is even outside the y-range in this example. By the way, I reproduced the error in the OOo2.0 codeline (1.9.54) under WinXP. Please note that I just had to open another issue (35226) also devoted to woring scaling of diagram axis' and statistical digram options ... just in case the bugs are connected somehow or fixing one fixes the other too or so.
Created attachment 18260 [details] XY-Diagram with wrongly scaled y axis because of error bars.
will hopefully be fixed with new chart engine.
IHA->BM: I will take care of this issue.
This bug was fixed with the complete re-implementation of the chart module starting with version SRC680m213. A successor issue is 30868. Error bars currently are not considered at all for auto scaling.
->Thomas, please verify on master and close.
add me to CC
verified
seen ok in master -> closed