Issue 21349 - Strange behaviour in axis labels in chart created in excel
Summary: Strange behaviour in axis labels in chart created in excel
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: john.marmion
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-17 07:52 UTC by Unknown
Modified: 2003-10-31 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
excel file demonstrating the error (83.75 KB, application/octet-stream)
2003-10-17 07:54 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-10-17 07:52:57 UTC
I have a xls file whose chart is rendered incorrectly when opened in OO.
the graph itself is fine but the axis formats are strange. The style
interpretation seems inherently different in OO than Excel.
Comment 1 Unknown 2003-10-17 07:54:07 UTC
Created attachment 10395 [details]
excel file demonstrating the error
Comment 2 Unknown 2003-10-17 07:54:56 UTC
i have attached an excel file demonstrating the error.
Comment 3 frank 2003-10-20 10:54:30 UTC
Hi Daniel,

one for you I think.

Frank
Comment 4 john.marmion 2003-10-20 12:22:03 UTC
I will look at this
Comment 5 john.marmion 2003-10-22 15:33:37 UTC
Yes, the X axis label format appears quite different. There is a
simple workaround that will fix this. In the X axis Label properties,
turn off the Text Flow->break and Set the rotation to 90 degrees. I
will investigate further to see why we are interpreting the Excel X
axis label automatic orientation like this. One final minor point,
there is no data beyond row 1450 for column A (categories) and column
C (values), yet the data series has references to row 1498. Calc will
default to using the using the Row number as the axis label in the
case where no cell data is present.
Comment 6 john.marmion 2003-10-29 17:17:33 UTC
This Excel document stores the category axis (x) rotation angle as 45
yet Excel successfully interprets this as 90 with a text orientation
of 90 Counter ClockWise(90CCW) direction. If you re-save this in Excel
it corrects this data to this actual interpretation. This implies that
this document was incorrectly saved by Excel at some earlier stage. I
presume the interpretation happens because the AutoRotationMode is set
and thus the only correct rotation angles are 0, 90 and 180. Calc as
yet does not support the AutoRotationMode and thus uses the incorrect
rotation angle and text orientation. But resaving this document in
Excel successfully fixes this problem.

This then leaves the final workaround of the text flow->break. Here
Calc sets this flag if the "number of categories between the tick
marks" is equal to 1. This works well for other documents and thus the
workaround here is to manually reset this value.

I would like to propose this we close this as 'worksforme'.
Comment 7 john.marmion 2003-10-31 09:36:06 UTC
closing as 'worksforme'
Comment 8 john.marmion 2003-10-31 09:42:50 UTC
mark closed