Issue 18516 - Wrong chart import from Excel
Summary: Wrong chart import from Excel
Status: CLOSED DUPLICATE of issue 15435
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: john.marmion
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 10:23 UTC by Unknown
Modified: 2003-09-09 16:00 UTC (History)
1 user (show)

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


Attachments
Original Excel file with chart. (36.05 KB, application/octet-stream)
2003-08-22 10:25 UTC, Unknown
no flags Details
An OpenOffice Calc document with wrong chart. (9.54 KB, application/octet-stream)
2003-08-27 11:05 UTC, Unknown
no flags Details
Simple spreadsheets with the left-to-right order-problem shown. (19.88 KB, application/octet-stream)
2003-08-27 12:22 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-08-22 10:23:48 UTC
There are problems importing a chart from an Excel spredsheet: the labels on
"x"-axis are wrong, the legend is wrong (and incomplete) and the series
displayed are incompleted (is shown only 1 serie of 3). All the rest seems ok!

In attachment you will find the Excel file. I'm sorry but the document is very
confidential and we had have removed all description strings. The chart is in
the last sheet: "Sheet9".
Comment 1 Unknown 2003-08-22 10:25:57 UTC
Created attachment 8650 [details]
Original Excel file with chart.
Comment 2 Unknown 2003-08-27 10:59:23 UTC
I'm investigating and I've discovered this:

* if I try to make a chart using data range of numbers:

    $Sheet2.$E$5:$E$58;$Sheet4.$E$13:$E$66;$Sheet8.$D$2:$D$55

it don't works. The only working versions are using Sheet2 as last
range, e.g.:

    $Sheet4.$E$13:$E$66;$Sheet8.$D$2:$D$55;$Sheet2.$E$5:$E$58

* When I try to add a column label of dates (adding Sheet8.A as first
column and selecting the "first column as label" flag), as:

   
$Sheet8.$A$2:$A$55;$Sheet4.$E$13:$E$66;$Sheet8.$D$2:$D$55;$Sheet2.$E$5:$E$58

the chart don't works.
Comment 3 Unknown 2003-08-27 11:03:08 UTC
I've reproduced the bug using a new OO's spreadsheet document. It have
4 sheets: Sheet1 and Sheet2 contains two numeric series, Sheet3
contains a serie of dates and Sheet4 try to make the chart using the 2
numeric series as data and the date serie as X-labels:

    $Sheet3.$A$1:$A$101;$Sheet1.$A$1:$A$101;$Sheet2.$A$1:$A$101

And don't works...I send the file.
Comment 4 Unknown 2003-08-27 11:05:38 UTC
Created attachment 8804 [details]
An OpenOffice Calc document with wrong chart.
Comment 5 Unknown 2003-08-27 12:20:40 UTC
I think to have isolated the problem: the order of ranges data used is
not managed by the chart component. The chart component re-order them
left-to-right, changing the meaning of columns (you can see this
playing with attached examples).

Remains the problem that some ranges orders don't works (see previous
comments).

Comment 6 Unknown 2003-08-27 12:22:05 UTC
Created attachment 8815 [details]
Simple spreadsheets with the left-to-right order-problem shown.
Comment 7 john.marmion 2003-09-01 15:48:03 UTC
I will take a look at this.
Comment 8 john.marmion 2003-09-01 15:48:38 UTC
accepting
Comment 9 john.marmion 2003-09-05 17:24:45 UTC
This looks like a similar issue to 15435 and issue 19110. The reason
why only one of the data series appears is because there is a
rectangular relationship between the Y-axis  and the X-axis i.e.
E13:E66 and A13:A66. The other problems relate to the intervals of the
x-axis not appearing and the data series names not appearing. The data
series name workaround is to use a cell content rather than a
hrad-coded string. Anyway, these issues should be addressed in the
chart module: 

http://graphics.openoffice.org/chart/chart.html
http://graphics.openoffice.org/chart/featurewishes.html

I will look to see if there is a workaround to the x-axis interval issue
Comment 10 john.marmion 2003-09-09 15:58:54 UTC
I looked at the x-axis issue again. So once the data series appear
correctly aligned, then the x-axis labels appear correct. I simply put
the x-axis in location A1:A12 and the values of subsequent years in
B1:B12,C1:C12,D1:D12 and E1:E12. So I will close this as a duplicate
of issue 15435. 

*** This issue has been marked as a duplicate of 15435 ***
Comment 11 john.marmion 2003-09-09 16:00:58 UTC
mark as closed