ODF New Proposal Template
Proposal short name:
date axis on charts
ODF currently supports many chart types that contain an X-Axis that has data points spaced at even intervals (area chart, bar chart, etc.), however, ODF does not allow the rendering of these chart types when the data points are spaced at varying intervals. There are common user cases when a user want to use one of these chart types but has data at varying intervals, specifically around the use of dates as category values. This proposal would allow users to create charts that have dates as category values which are then used to space out the data points at their relative scale on a date axis.
Note that this could also potentially be moved to the style of the chart:category element.
Requested changes to the ODF Standard
Text changes/additions (please state section numbers):
Add to the bottom of the Categories (10.10) section of ODF 1.1 the following: Axis Type The chart:axis-type attribute specifies if the category label values are interpreted as text, dates, or automatically by the application. If an axis type is set to “date” or has been set to “auto” and interpreted by the application to contain dates, the axis will rendered with the dates scaled across the axis and the data points placed at the corresponding date on the axis. The chart:axis-base-time-unit attribute is used on a date axis to specify the smallest time unit that is represented on the date axis.
<define name="chart-categories-attlist" combine="interleave"> <choice> <group> <attribute name="chart:axis-type"> <choice> <value>date</value> </choice> </attribute> <optional> <attribute name="chart:axis-base-time-unit"> <choice> <value>auto</value> <value>days</value> <value>months</value> <value>years</value> </choice> </attribute> </optional> </group> <attribute name="chart:axis-type"> <choice> <value>auto</value> <value>text</value> </choice> </attribute> <empty/> </choice> </define> This will also include the modification of the chart:categories element to include <ref name="chart-categories-attlist"/>
Workflow (to be filled in by TC Chairs)
Date Proposal initially made:
Dates Proposal discussed on TC calls:
Date vote is requested:
Date vote is held:
Results of vote: