Apache OpenOffice (AOO) Bugzilla – Issue 101968
text values in data range cause incorrect x values
Last modified: 2013-02-24 21:19:38 UTC
Text values in a data range can be misinterpreted, causing the automatic axis range to be determined incorrectly, and the axis mislabeled. See the attached spreadsheet and chart for an example.
Created attachment 62296 [details] sample document showing problem
If there is a text row between, then the whole x-value column is ignored and the ersatz values 1,2,3,4... are used. That is wrong. Cells with text should be treated as if they are empty as it has been till OOo3.0.1.
I fear this was broken by fix for issue 71686. @weiz, please have a look.
weiz, as discussed in our weekly IRC chat I take back this issue for fixing.
Fixed in CWS chart39. Now ersatz values 1,2,3,4... are only used for x-values in case that no numeric value but at least one text is contained within the x-value range.
Created attachment 63303 [details] screenshots illustrating wrong and correct display
@Sophie, please verify in CWS chart39. Thanks, Ingrid! Load the attached document Chart_text_values.ods and double click the chart. It should look like illustrated within attached Screenshots.jpg.
Verified in CWS chart39 - data are displayed correctly after editing. Sophie
*** Issue 103949 has been marked as a duplicate of this issue. ***
Verified in DEV300m54 under .deb version - Closing - Sophie
Testing DEV300_m54 on Fedora Linux 11: Sample document works correctly: graph has correct X scale when x-value cells A21:A22 are empty, contain text, or contain =NA() ("#NA") as in dup Issue 103949. Other errors (including #DIV/0) are ignored also. Looks great--thanks!