-
Type: Improvement
-
Status: Applied
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2 CD 05
-
Fix Version/s: ODF 1.2 CD 06
-
Component/s: Public Review
-
Labels:None
-
Proposal:
-
Resolution:
a) The spec mentions that "If the chart data is to be taken from the table element contained in the <chart:chart> element itself, the table:cell-range-address attribute (on <chart:plot-area>) shall be omitted." but it isn't explicitly specified when the table:cell-range-address must be present
b) It seems that chart:values-cell-range-address is optional on <chart:series>, although 19.15.1<chart:chart>, <chart:series> provides some guidance
This raises some questions / issues, consider this case:
<chart:plot-area table:cell-range-address="Sheet1.$A$1:Sheet1.$B$1">
...
<chart:series chart:values-cell-range-address="Sheet1.$A$1"/>
<chart:series chart:values-cell-range-address="Sheet1.$B$1"/>
...
- If the chart data is not to be taken from the table element contained in the <chart:chart> element itself, shall the table:cell-range-address be present ? Or may it be omited when <chart:series chart:values-cell-range-address..>'s are present ?
- and the other way around: may <chart:series chart:values-cell-range-address...> be omited when the series are consecutive and <chart:plot-area table:cell-range-address... is present ? It seems not, since 19.15.1 mentions using the value of this attribute
- it seems logical to just ignore <chart:chart table:cell-range-address...> when one ore more <chart:series chart:values-cell-range-address..>'s are present