[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Chart proposals (part 1)
Hi, please find below two proposals for chart extensions (some more will follow in the next days): Chart Sort By X Values ---------------------- (formatting property, to be added Between Section 15.30.4 and 15.30.5) The attribute chart:sort-by-x-values is applicable for chart types with data series that contain x-values (e.g. scatter charts). X-values are usually given as the first chart:domain sub-element (see section 10.9.1) of a <chart:series> element. The attribute chart:sort-by-x-values determines whether the data points of a data series should be displayed in ascending order of the x values (true), or in the order they are contained in the underlying data (false). The attribute can be used within styles that are assigned to the <chart:plot-area> element. <define name="style-chart-properties-attlist" combine="interleave"> <optional> <attribute name="chart:sort-by-x-values"> <ref name="boolean"/> </attribute> </optional> </define> Treatment of Empty Cells ------------------------ (formatting property, to be added to section 15.30 he chart:treat-empty-cells attribute specifies how missing and invalid values are missing are plotted. If the attribute value is "use-zero" all missing values are replaced with zero. If the attribute value is "leave-gap" nothing is plotted for that point and a continuous plot is interrupted - for example the line in a line chart stops at the previous valid point and starts again at the next valid point. If the attribute value is "ignore" nothing special is plotted for that point and the plot is continued. The default behavior is "ignore" for scatter charts (chart:class is "chart:scatter"). For all other chart types the default behavior is "leave-gap". This attribute can be used within styles that are applied to a <chart:plot-area> element. <define name="style-chart-properties-attlist" combine="interleave"> <optional> <attribute name="chart:treat-empty-cells"> <choice> <value>use-zero</value> <value>leave-gap</value> <value>ignore</value> </choice> </attribute> </optional> </define> Best regards Michael -- Michael Brauer, Technical Architect Software Engineering StarOffice/OpenOffice.org Sun Microsystems GmbH Nagelsweg 55 D-20097 Hamburg, Germany michael.brauer@sun.com http://sun.com/staroffice +49 40 23646 500 http://blogs.sun.com/GullFOSS
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]