Apache OpenOffice (AOO) Bugzilla – Issue 112053
Can "lines" chart type support values in addition to categories axis?
Last modified: 2013-02-24 21:22:29 UTC
It appears that if I want a line plot with a value-type axis, I have to use a scatter plot. <chart:axis chart:class="value" ... is apparently ignored even if I have a column of perfectly reasonable values (numbers or something similar rather than strings). This means I'm stuck with automatic axis scaling and ticks however Chart feels like it (so far as I have been able to determine anyway). I've picked through the ODF spec and as many examples as I could find, and don't see any particular requirement or intent that chart:line should only accept a categories axis.
How about to discuss your Chart topics at dev@graphics.openoffice.org instead of using this issue tracking system as support and discuss medium ?
closing as invalid
My question is pretty simple. Is it supposed to do this or not? The spec is mute on whether a line plot is supposed to work with values in addition to categories. I'm not reporting this because I'm in need of support. I'm reporting this because it's an observation I have about the way that OO interprets ODF XML, and I think it's a relevant observation. Is it a bug? If not, just say it's not.
It is still no bug report but a support question. No, line charts are always category charts. The spec is not mute but describes it clearly in chapter 19.15.1: "chart:line – The values given by a chart:values-cell-range-address attribute on a <chart:series> element are interpreted as y-coordinates within a Cartesian coordinate system with horizontal x axis and vertical y axis. The accessory x-coordinates are generated from the positions in the y-value sequence starting with 1.0. The first y value gets an x value 1.0. The second y value is associated with an x value of 2.0 and so forth. The <chart:categories> element can be used to define labels for the x axis. "
closing