[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: proposals for charts: reverse-direction, right-angled-axes,group-bars-per-axis
Dear TC members, I am forwarding the following three proposals created by the OpenOffice.org-Chart development team concerning chart axes for inclusion into OpenDocument 1.2... ---------------------------------------------------------------------- Chart: Reverse Axis Between Section 15.31.3 and 15.31.4 a new section should be added (or section 15.31.3 could be expanded): Reverse Direction The chart:reverse-direction attribute determines where the minimum and where the maximum values are displayed on an axis. The default direction of an axis is the one used in standard mathematics. 3D Cartesian coordinate systems are left handed per default and polar coordinate systems are counter clockwise. If x and y axes are swapped as in horizontal bar charts (when property chart:vertical equals true), then the unswapped coordinate system is standard mathematics and left handed. <define name="style-chart-properties-attlist" combine="interleave"> <optional> <attribute name="chart:reverse-direction"> <ref name="boolean"/> </attribute> </optional> </define> ---------------------------------------------------------------------- Chart: Right-angled Axes Expand section 10.5.1: Right-angled-axes The attribute right-angled-axes can be used for 3D charts. If set to true it determines that two of the three axes in the cartesian coordiante system of the 3D scene must form a right angle in the projection on the screen. One axis projection is vertical and one is horizontal. Thus the chart is not drawn in a perspective look. <define name="chart-plot-area-attlist" combine="interleave"> <optional> <attribute name="chart:right-angled-axes" a:defaultValue="false"> <ref name="boolean"/> </attribute> </optional> </define> ---------------------------------------------------------------------- Chart: show bars attached to different y axes side by side The section 15.30.5 about Bar Chart Properties needs to be expanded: group-bars-per-axis With bar charts, the property chart:group-bars-per-axis can be used to display bars side by side even if they are attached to different y axes. The property can be used within the style at the plot-area element. If false, all bars on the same x axis are handled as one group and are displayed side by side. If true, only bars attached to the same x and y axis are handled as one group. <define name="style-chart-properties-attlist" combine="interleave"> <optional> <attribute name="chart:group-bars-per-axis"> <ref name="boolean"/> </attribute> </optional> </define> -- Lars Oppermann <lars.oppermann@sun.com> Sun Microsystems Software Engineer Nagelsweg 55 Phone: +49 40 23646 959 20097 Hamburg, Germany Fax: +49 40 23646 550 http://www.sun.com/staroffice
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]