Issue Details (XML | Word | Printable)

Key: OFFICE-1927
Type: Bug Bug
Status: Applied Applied
Resolution: Fixed
Priority: Major Major
Assignee: Michael Brauer
Reporter: Andreas Guelzow
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OASIS Open Document Format for Office Applications (OpenDocument) TC

the location of the chart:vertical attribute is to arbitrary.

Created: 11/Jul/09 01:58 AM   Updated: 21/Sep/09 08:26 AM
Component/s: Chart
Affects Version/s: ODF 1.2
Fix Version/s: ODF 1.2

Proposal:
SInce chart:vertical is tightly connected to chart:class and chart class only exists for chart:chart and chart:series, I suggest that chart:vertical be restricted to use by styles of chart family that are attached via their name to chart:chart and chart:series elements.


 Description  « Hide
chart:class="chart:bar" is the type of charts that results in vertical column or horizontal bar charts depending on the value of the attribute chart:vertical. chart:vertical=true should give us horizontal bar charts and chart:vertical=false (the default) vertical column charts. So far that is well described.

The problem is that we only know that chart:vertical is an attribute to chart-properties, so it is part of some style of the chart family. It is not said to which element this style should be applied.

Off hand I would guess that the style should apply to the chart:chart element since that element carries the class information that we are considering a chart:bar. (Since the class can be overwritten by the series element for specific series, it also makes sense that the style attached to a series element could set chart:vertical, if it is understood that that only modifies that series. (MSOffice and Gnumeric are using this interpretation.)

SInce chart:vertical in its general description claims to specify whether the x-axis is vertical it would make some sense to apply that style to the chart:plot-area since that element contains all axes. (OOo seems to be using this interpretation.)

Moreover, if styles with conflicting chart:vertical are applied to chart:chart and chart:plot-area (or sany of othe rpossible elements), it seems to be completely unclear which value applies.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Brauer added a comment - 21/Sep/09 08:26 AM
This issue is already resolved.
OpenDocunent-v1.2-part1-cd03-rev02 states:

This attribute should be used within chart styles that are applied to a <chart:plot-area> element.