OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] Chart legend orientation

Hi David,

not being a chart expert I have asked Bjoern Milcke for his opinion:

David Faure wrote:
> It seems that ODF is currently missing a way of specifying the orientation of the legend.
> Currently (in OpenOffice.org for instance) there's no way to set it directly, but it's automatically changed when you set the legend's position:
> when you position it right/left, it's set to vertical, otherwise to horizontal.
> But that doesn't really make sense for the case you want to move the legend around freely.
> The proposal is to add a chart:legend-orientation attribute to the <chart:legend> tag.
> Something like this in compact notation:
> chart-legend-attlist &=
>     attribute chart:legend-orientation {
>         "horizontal" | "vertical" | "auto"
>     }?

According to Bjoern, this is covered already be the 
style:legend-expansion attributed described in section "10.4.2 Legend 
Expansion" of draft 6. Its value "wide" seems to correspond with your 
value "horizontal", the value "high" with "vertical".

> Something else: there is no attribute for the title of the legend, right?
> Not the chart title, but the text shown inside the legend, which is usually
> "Legend" or nothing at all. Could this be added as well?
Bjoern's suggestion for this is to add a sub-element <chart:title>, 
similar as to they way the text for the <chart:axis> element is defined.

Best regards


Michael Brauer, Technical Architect Software Engineering
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]