Issue 110617 - Inconsistent display of Column chart with blank category b/n Calc and Writer
Summary: Inconsistent display of Column chart with blank category b/n Calc and Writer
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Unknown Windows 7
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 11:41 UTC by rsking84
Modified: 2017-05-20 11:41 UTC (History)
3 users (show)

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


Attachments
Paste this chart into Writer and compare with how it is displayed in Calc (15.78 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-04-05 11:42 UTC, rsking84
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rsking84 2010-04-05 11:41:32 UTC
If you create a column chart with multiple categories in Calc, then change the
data ranges to show only some of the categories (e.g. to display four out of
five rows of y-values), Calc will adjust the chart to show only those categories
which contain data.  If the same chart is pasted into writer, the blank category
is shown on the x-axis.
Comment 1 rsking84 2010-04-05 11:42:12 UTC
Created attachment 68742 [details]
Paste this chart into Writer and compare with how it is displayed in Calc
Comment 2 Regina Henschel 2010-04-05 14:11:39 UTC
I can confirm the effect, but I don't know whether it is a defect. When a chart
has its own data table, it is not possible to define a range for a data series.
So the whole table of data is used.
And simple dropping a category, which has no data, might be not the right way.
For example data exist for Jan, Feb, Apr, May but not for March. You surely want
to show March on the category axis. So it needs do be an option to drop a category.
Comment 3 rsking84 2010-04-05 14:16:30 UTC
I agree with regina's comment - a case can be made that this is not a defect. 

 What I feel IS a defect is that the behavior is inconsistent between Calc and
Writer.  The chart should be handled the same by both programs, one way or the other
Comment 4 kla 2010-04-07 13:33:39 UTC
It was an discussion more than 7 Years ago to use the spreadsheet as data
editor. See comments in i20341. 

*** This issue has been marked as a duplicate of 20341 ***
Comment 5 rsking84 2010-04-07 14:43:00 UTC
I've looked at the comments in the duplicate issue, but they don't appear to
address the fact that a chart of the kind in my example renders DIFFERENTLY in
Calc than it does in Writer.  I don't see that issue being discussed but it is
an annoying behavior that doesn't seem resolved to me.

Thanks for your attention!
Comment 6 Regina Henschel 2010-04-07 15:30:56 UTC
The issue says, that it is impossible to use only a part of the embedded data
table, because the ODF has no way to store such selections.

Copying the chart this way looses connection to the spreadsheet anyway. So why
not insert the chart as picture?

If you need to change the data later, then you are more flexible, if you make a
chart from a writer table. Then you can use the same settings as in Calc. You
can put the table into a section and hide it, if you want to show only the
chart. Perhaps you discuss the possible ways in a mailing list or forum?
Comment 7 rsking84 2010-04-07 15:55:16 UTC
I understand the technical limitation and the workarounds.  I would suggest that
Calc be altered to display such a chart WITH the missing category (as in
Writer).  That way it is clear that there are some categories selected with no
data and behavior is consistent across both products.

My usage scenario is this:  I keep scientific data in a spreadsheet, where I
perform calculations and analysis and then create charts.  I need to paste the
charts into writer to prepare reports from the data, but I don't want to paste
as pictures because I need to alter the formatting slightly for the report (font
sizes, colors, etc.).  I also do not want to duplicate my data in a writer table
because this creates substantial extra work and invites transcription errors.  I
recognize that the link is broken, but if I need to edit the data I want to do
it only one place, not two (e.g. I will edit data in the spreadsheet then
re-paste the chart).

When I have prepared a Calc chart and I paste into Writer, I expect it to look
the same.  When it doesn't, I have to go fiddle with the Calc chart and re-paste
it until it displays properly.  This is annoying, time-consuming, makes it easy
to introduce inaccuracies into reports, and would be unacceptable in a
production environment I think.

Thank you for your attention. I'm not trying to be a "squeaky wheel" but I don't
feel this is getting the attention it deserves.  I think it is small behavioral
quirks like these that frustrate and drive people away from OpenOffice.  I'll
rest my case here, but I strongly encourage the dev team to reopen this issue
and fix the rendering of the Chart in Calc to be consistent with Writer.
Comment 8 IngridvdM 2010-04-14 10:15:28 UTC
I agree that this issue is not a duplicate -> reopen.
Comment 9 IngridvdM 2010-04-14 10:16:57 UTC
I agree that it is an error that the chart looks different after pasting from
calc to writer.
Comment 10 IngridvdM 2010-04-14 10:19:32 UTC
taking issue
Comment 11 IngridvdM 2010-04-14 11:42:19 UTC
Fixed in CWS chart45.
For compatibility reasons I didn't change neither the behavior in calc nor in
writer. Instead I changed the behavior of the copy action.
The pasted chart in writer now does not contain the unused category thus the
chart looks the same as in calc.
Limitation:
In detail the copy action is performed via save and load. I changed the
information that gets saved (skipping the unused category in the separate data
table). As all existing documents have already saved too much information it is
necessary to touch them once so they will get saved again with the corrected
reduced information. After that the paste action should produce a correct result.
Comment 12 IngridvdM 2010-04-15 12:12:21 UTC
@Thomas, please verify fix in CWS chart45.
Remind to double click the chart once before copying!
Comment 13 IngridvdM 2010-04-15 12:14:47 UTC
changed owner
Comment 14 kla 2010-04-19 15:21:22 UTC
Seen ok in CWS chart45 -> verified