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: [OASIS Issue Tracker] (OFFICE-4033) Part 3, 11.4 chart:legend - entry, entry key, entry text


    [ https://issues.oasis-open.org/browse/OFFICE-4033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=72977#comment-72977 ] 

Patrick Durusau commented on OFFICE-4033:
-----------------------------------------

The present language in 11.4 reads:

*****

The {{<chart:legend>}} element represents a legend for a chart. If there is no {{<chart:legend>}} element for a chart, no legend is displayed.

A legend contains a list of legend entries. Each entry consists of a graphical entry key and an entry text.

For circle and ring charts each legend entry represents an individual data point of the first series. The graphical entry key represents the visual appearance of a data point while the entry text is the category of the point.

The categories to use are given as a list of labels defined by the {{<chart:categories>}} 11.10 element at the x-axis. They are paired with matching data points in the order in which they appear.

For surface charts each graphic entry key represents the graphical appearance of the surface within a major interval of the altitude axis and the entry text represents the value range of that interval.

For all other chart types the legend entries represent the series of the chart. The graphical entry keys represent the visual appearance of each series while the entry texts contain the names of the series.

The legend may include additional entries for regression-curves and mean-value lines.

The {{<chart:legend>}} element may contain a {{<text:p>}} element. If present, it defines a title for the legend.

*****

The general chart-legend-attlistÂschema reads:

<rng:define name="chart-legend-attlist">
 <rng:interleave>
 <rng:choice>
 <rng:group>
 <rng:attribute name="chart:legend-position">
 <rng:choice>
 <rng:value>start</rng:value>
 <rng:value>end</rng:value>
 <rng:value>top</rng:value>
 <rng:value>bottom</rng:value>
 </rng:choice>
 </rng:attribute>
 <rng:optional>
 <rng:attribute name="chart:legend-align">
 <rng:choice>
 <rng:value>start</rng:value>
 <rng:value>center</rng:value>
 <rng:value>end</rng:value>
 </rng:choice>
 </rng:attribute>
 </rng:optional>
 </rng:group>
 <rng:attribute name="chart:legend-position">
 <rng:choice>
 <rng:value>top-start</rng:value>
 <rng:value>bottom-start</rng:value>
 <rng:value>top-end</rng:value>
 <rng:value>bottom-end</rng:value>
 </rng:choice>
 </rng:attribute>
 <rng:empty/>
 </rng:choice>
 <rng:ref name="common-draw-position-attlist"/>
 <rng:choice>
 <rng:attribute name="style:legend-expansion">
 <rng:choice>
 <rng:value>wide</rng:value>
 <rng:value>high</rng:value>
 <rng:value>balanced</rng:value>
 </rng:choice>
 </rng:attribute>
 <rng:group>
 <rng:attribute name="style:legend-expansion">
 <rng:value>custom</rng:value>
 </rng:attribute>
 <rng:attribute name="style:legend-expansion-aspect-ratio">
 <rng:ref name="double"/>
 </rng:attribute>
 <ref name="common-draw-size-attlist"/>
 <!-- https://issues.oasis-open.org/browse/OFFICE-3883 -->
 </rng:group>
 <rng:empty/>
 </rng:choice>
 <rng:optional>
 <rng:attribute name="chart:style-name">
 <rng:ref name="styleNameRef"/>
 </rng:attribute>
 </rng:optional>
 </rng:interleave>
 </rng:define>

Â

> Part 3, 11.4 chart:legend - entry, entry key, entry text
> --------------------------------------------------------
>
>                 Key: OFFICE-4033
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4033
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.3
>            Reporter: Patrick Durusau
>            Priority: Major
>
> "The text does not appear to correspond to the structure defined by the schema. What elements or attributes are used to represent "legend entry", "graphical entry key" and "entry text"?" [Francis Cave] Patrick: I will try to untangle this. More underspecification.
> I have researched this further and the schema provides:
> *****
> <rng:define name="chart-legend">
>  <rng:element name="chart:legend">
>  <rng:ref name="chart-legend-attlist"/>
>  <rng:optional>
>  <rng:ref name="text-p"/>
>  </rng:optional>
>  </rng:element>
>  </rng:define>
> *****



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


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