You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/04/24 14:11:26 UTC

DO NOT REPLY [Bug 119280] New: X-axis labels in charts turn into "0"

https://issues.apache.org/ooo/show_bug.cgi?id=119280

             Bug #: 119280
        Issue Type: DEFECT
           Summary: X-axis labels in charts turn into "0"
    Classification: Application
           Product: Chart
           Version: AOO340-dev
          Platform: PC
        OS/Version: All
            Status: CONFIRMED
          Severity: minor
          Priority: P3
         Component: formatting
        AssignedTo: graphicsneedsconfirm@graphics.openoffice.org
        ReportedBy: pescetti@apache.org
                CC: ooo-issues@incubator.apache.org


Created attachment 77489
  --> https://issues.apache.org/ooo/attachment.cgi?id=77489
Names are not displayed under the chart

In some circumstances, labels on the X-axis in charts turn into "0" and the
original string is not displayed properly; the string, however, seems to be
written correctly to the file, since other programs import it correctly.

Oddly enough, we were able to reproduce it only when the chart is based on a
table formatted in a non-default way.

To reproduce:

1) Open the file I'll shortly attach or create a new document in Writer, a
table with AutoFormat (we tried with the "Brown" preset), fill it with numbers
and use the first column as labels for the X-axis.

2) Save, close and reopen.

3) Look at the X-axis labels.

Expected result: labels are preserved (in the sample file, one should see
"Busto Arsizio", Gallarate"... under the chart).

Actual results: upon reloading, labels are lost and replaced by "0".

[Found by Giorgio Gentili during Italian QA tests]

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 119280] X-axis labels in charts turn into "0"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119280

--- Comment #2 from Regina Henschel <rb...@t-online.de> 2012-04-25 21:36:10 UTC ---
The document is inconsistent. It has stored e.g.
<table:table-cell table:style-name="Tabella1.A1" office:value-type="float"
office:value="0"><text:p text:style-name="P1">Abitanti</text:p>

That means type and value are set the a number format, but the paragraph
content in the cell is a text. This could be generated, if the Number
Recognition is turned off. You get the correct display, if the document is
changed, so that the first column really has text format. You can see the wrong
format in the preview in the number format dialog.

But there seem something more needed. When I generate such buggy document with
OOo3.2.1 the display is not wrong.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 119280] X-axis labels in charts turn into "0"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119280

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |regression

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 119280] X-axis labels in charts turn into "0"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119280

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel@t-online.de
            Version|AOO340-dev                  |DEV300m99

--- Comment #1 from Regina Henschel <rb...@t-online.de> 2012-04-25 00:10:48 UTC ---
The error has been introduced with DEV300m99. In DEV300m98 the x-axis labels
are correct.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.