Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-4033

Part 3, 11.4 chart:legend - entry, entry key, entry text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.3
    • Fix Version/s: ODF 1.4
    • Component/s: None
    • Labels:
      None
    • Proposal:
      Hide

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

      The labels used by a legend are defined by the <chart:categories> 11.10 element on the x-axis. They are paired with matching data points in the order in which they appear.

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

      Graphical components of chart legends are defined by the chart:class 19.15.1 attribute.

      Show
      The <chart:legend> element represents a legend for a chart. If there is no <chart:legend> element for a chart, no legend is displayed. The labels used by a legend are defined by the <chart:categories> 11.10 element on the x-axis. They are paired with matching data points in the order in which they appear. The <chart:legend> element may contain a <text > element. If present, it defines a title for the legend. Graphical components of chart legends are defined by the chart:class 19.15.1 attribute.

      Description

      "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>

      *****

        Attachments

          Activity

            People

            • Assignee:
              Patrick Patrick Durusau
              Reporter:
              Patrick Patrick Durusau
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: