Issue 112053 - Can "lines" chart type support values in addition to categories axis?
Summary: Can "lines" chart type support values in addition to categories axis?
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC (x86_64) All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL: http://docs.oasis-open.org/office/v1....
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2010-06-03 01:07 UTC by hardcoder
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hardcoder 2010-06-03 01:07:16 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.
Comment 1 Joost Andrae 2010-06-03 10:17:21 UTC
How about to discuss your Chart topics at dev@graphics.openoffice.org instead of
using this issue tracking system as support and discuss medium ?
Comment 2 Joost Andrae 2010-06-03 10:17:43 UTC
closing as invalid
Comment 3 hardcoder 2010-06-03 10:27:07 UTC
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.
Comment 4 Regina Henschel 2010-06-03 14:08:39 UTC
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. "
Comment 5 Regina Henschel 2010-06-03 14:09:17 UTC
closing