Apache OpenOffice (AOO) Bugzilla – Issue 21651
XY charts wants X values to be sorted
Last modified: 2013-02-24 21:18:57 UTC
When plotting an XY series with Chart, Chart insists that the X values must be in monotonic increasing order. This makes Charts unable to show parametric two-valued functions, very often used in scientific and engineering applications. Excel'97 and ApplixWare 4.2 both allow any arbitrary order of points. Importing an Excel file with a chart of non-monotonic X values will naturally result in a broken (and, in OOo, irreprodicble) chart. I attach a small Excel file, the chart should show a spiral (and in Excel'97 it does).
Created attachment 10599 [details] Chart parametrix XY plot example Excel file
I guess, that it is an import-problem from Excel to OOo. If you create the chart in OOo you get a spiral, you only have to say "no" when you are asked whether OOo should sort the values. Opening your file I get a broken chart too, OOo1.1RC?? and SO7.0 on Win98.
Indeed. I have tested it and as it turns out, it is not the Excel import. Chart can plot the piral if you use line segments. However, if you want to use cubic spline or B spline, it bombs out. You can try it easily: In the imported chart change chart type to XY line segments, it will be OK. If you create a separate chart with the data in the sheet, change the type to XY spline, the OOo created chart will be just as broken as the imported one. Therefore, I close this issue as INVALID and open an other one, severity Bug, about the cubic and B splines being broken on XY xharts.
tk-> Yourcat: i close it for you.