Issue 75530 - New Chart: Stock-Charts with volume and no property stock-with-volume are loaded incorrectly
Summary: New Chart: Stock-Charts with volume and no property stock-with-volume are loa...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@graphics
URL:
Keywords: new_implementation
Depends on:
Blocks: 75529
  Show dependency tree
 
Reported: 2007-03-19 18:57 UTC by bjoern.milcke
Modified: 2013-02-24 21:19 UTC (History)
2 users (show)

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


Attachments
File saved with the new chart. The property stock-with-volume was removed afterwards from the plot-area properties (16.16 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-03-19 19:06 UTC, bjoern.milcke
no flags Details
StockChart created with OOo 2.2 and removed stock-with-volume attribute (18.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-03-20 10:16 UTC, bjoern.milcke
no flags Details
File with fixed label-addresses, see Issue 75651. Use this for testing. Note, that the colors do no longer match the metafile (15.31 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-04-11 09:36 UTC, bjoern.milcke
no flags Details
Fix for this issue in xmloff (15.56 KB, patch)
2007-04-11 15:13 UTC, bjoern.milcke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2007-03-19 18:57:34 UTC
If you remove the stock-with-volume property from a stock chart type 3 or 4, to
get a file conforming the ODF specification, the file is loaded either as empty
chart or with wrong paint-order (candlesticks are overwritten by the volume bars).

See also Issue 75529 for removing the property in export.
Comment 1 bjoern.milcke 2007-03-19 19:06:38 UTC
Created attachment 43800 [details]
File saved with the new chart. The property stock-with-volume was removed afterwards from the plot-area properties
Comment 2 bjoern.milcke 2007-03-19 19:07:32 UTC
In the attached document vol.ods you can see that the paint order is wrong; the
volume bars paint over the candlesticks.
Comment 3 bjoern.milcke 2007-03-19 19:09:17 UTC
Added keyword
Comment 4 bjoern.milcke 2007-03-20 10:16:37 UTC
Created attachment 43807 [details]
StockChart created with OOo 2.2 and removed stock-with-volume attribute
Comment 5 bjoern.milcke 2007-04-11 09:36:29 UTC
Created attachment 44335 [details]
File with fixed label-addresses, see Issue 75651. Use this for testing. Note, that the colors do no longer match the metafile
Comment 6 bjoern.milcke 2007-04-11 15:13:59 UTC
Created attachment 44354 [details]
Fix for this issue in xmloff
Comment 7 bjoern.milcke 2007-04-11 15:20:28 UTC
Fixed when attached patch is applied to xmloff (based on CWS chart2mst3).

The problem was that there is a global chart type at the plot-area that results
in creating a first chart type. If the first data series has a different type,
the new type is added as second chart type, although it should be the first one.
The fix now creates new chart types before the global one as long as the global
one is used for the first time.

In addition the property "Volume" (old API) is no longer set when the
chart:stock-with-volume property attribute was not read in XML.
Comment 8 matthias.mueller-prove 2007-04-18 10:46:00 UTC
fixed typo in summary
Comment 9 bjoern.milcke 2007-04-19 10:52:32 UTC
Patch applied to chart2mst3
Comment 10 bjoern.milcke 2007-04-23 12:26:56 UTC
Please verify in latest build of chart2mst3, mst12_3.

For verification you can also create a document with OOF.m15 or greater (where
the CWS oasisrng02 is integrated). That should export stock-charts without the
stock-with-volume attribute (see Issue 75529).
Comment 11 frank 2007-04-24 13:56:58 UTC
Could not find stock-with-volume property in the content.xml of the chart and
the charts look Ok with Chart2mst12_3. Checked with Linux, Windows and Solaris
build.
Comment 12 p9w.vu.31122010 2007-06-18 16:54:00 UTC
Verified in 680 m215, closing.