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: Chart proposal [legend-position]


Another proposal for charts: the position of the legend should be extended
to more than bottom/right/left/top.

As you can see in the attached screenshots, even for 'bottom right' case has
3 possibilities.

The full set of values I'm suggesting is the one coming from the XSD file for KDChart, 
which I posted some time ago:

<xsd:element name="Position">
  <xsd:simpleType>
    <xsd:restriction base="xsd:NMTOKEN">
        <!-- No legend is displayed. -->
        <xsd:enumeration value="NoLegend"/>
        <!-- The legend is horizontally centered above the axes and data area which make room for it to the bottom. -->
        <xsd:enumeration value="Top"/>
        <!-- The legend is horizontally centered below the axes and data area which make room for it to the top. -->
        <xsd:enumeration value="Bottom"/>
        <!-- The legend is vertically centered at the left of the axes and data area which make room for it to the right. -->
        <xsd:enumeration value="Left"/>
        <!-- The legend is vertically centered at the right of the axes and data area which make room for it to the left. -->
        <xsd:enumeration value="Right"/>
        <!-- The legend is near the upper left corner of the axes and data area which make room to the bottom and to the right. -->
        <xsd:enumeration value="TopLeft"/>
        <!-- The legend is near the upper left corner of the axes and data area which make room to the bottom only. -->
        <xsd:enumeration value="TopLeftTop"/>
        <!-- The legend is near the upper left corner of the axes and data area which make room to the right only. -->
        <xsd:enumeration value="TopLeftLeft"/>
        <!-- The legend is near the upper right corner of the axes and data area which make room to the bottom and to the left. -->
        <xsd:enumeration value="TopRight"/>
        <!-- The legend is near the upper right corner of the axes and data area which make room to the bottom only. -->
        <xsd:enumeration value="TopRightTop"/>
        <!-- The legend is near the upper right corner of the axes and data area which make room to the left only. -->
        <xsd:enumeration value="TopRightRight"/>
        <!-- The legend is near the lower left corner of the axes and data area which make room to the top and to the right. -->
        <xsd:enumeration value="BottomLeft"/>
        <!-- The legend is near the lower left corner of the axes and data area which make room to the top only. -->
        <xsd:enumeration value="BottomLeftBottom"/>
        <!-- The legend is near the lower left corner of the axes and data area which make room to the right only. -->
        <xsd:enumeration value="BottomLeftLeft"/>
        <!-- The legend is near the lower right corner of the axes and data area which make room to the top and to the left. -->
        <xsd:enumeration value="BottomRight"/>
        <!-- The legend is near the lower right corner of the axes and data area which make room to the top only. -->
        <xsd:enumeration value="BottomRightBottom"/>
        <!-- The legend is near the lower right corner of the axes and data area which make room to the left only. -->
        <xsd:enumeration value="BottomRightRight"/>
     </xsd:restriction>
  </xsd:simpleType>
</xsd:element>

To be honest I can't really understand those descriptions (and match them to the enum name and to the pictures).
Pretty hard to describe this accurately...
Maybe the naming scheme used here should be revised a little. Is there anything
in the file format already, that could be used for this?

-- 
David FAURE, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

image_bottombottomright.png

image_bottomrightbottom.png

image_bottomright.png



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