Issue 3865 - Linear Regression line attributes (style/color/width) not saved
Summary: Linear Regression line attributes (style/color/width) not saved
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 98
: P3 Trivial (vote)
Target Milestone: ---
Assignee: bjoern.milcke
QA Contact: issues@graphics
URL:
Keywords: oooqa
: 5086 8436 8555 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-04-04 17:00 UTC by mlsnjax
Modified: 2013-02-24 21:22 UTC (History)
1 user (show)

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


Attachments
Spreadsheet and sample chart with linear regression data (9.94 KB, application/octet-stream)
2002-04-04 17:04 UTC, mlsnjax
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mlsnjax 2002-04-04 17:00:39 UTC
After selecting data, object properties, statistics, linear regression and having the line 
appear in the chart I selected the regression line and altered is properties:

Style from 
continuous to ultrafine
Color from Bordeau to Black
Width from .04 to .01
and click 
OK.

If you save the spreadsheet, close the file then re-open the spreadsheet the referenced 
line attributes have reverted back to default.

BTW the Version Found In is 641-D.

I intend 
to attach the spreadsheet as soon as I determine how.
Comment 1 mlsnjax 2002-04-04 17:04:06 UTC
Created attachment 1323 [details]
Spreadsheet and sample chart with linear regression data
Comment 2 peter.junge 2002-04-04 17:10:45 UTC
I'll have a look at it, Peter
Comment 3 peter.junge 2002-04-08 15:04:40 UTC
Hi Björn,
this one's for you.
Regards, Peter
Comment 4 bjoern.milcke 2002-04-09 09:19:44 UTC
The attributes are missing, because they are missing in the XML specification.  Therefore we would have to change the file-format, which is not that easy.

Currently, in XML, regression-cruves and mean values are enabled by setting properties at a series' auto-style.  We would have to change this such that those become sub-elements of the series elements with their own auto-style properties.

To not become incompatible to older binaries, we would have to store the information redundantly, i.e., as property as well as by providing a sub-element.
Comment 5 bjoern.milcke 2002-05-13 13:39:46 UTC
For a fix you need the following files:

xml\xmloff\dtd\chart.mod,v1.31
xml\xmloff\dtd\chart.mod,v1.30
xml\xmloff\dtd\nmspace.mod,v1.5
xml\xmloff\dtd\office.mod,v1.46
xml\xmloff\inc\SchXMLImport.hxx,v1.19
xml\xmloff\inc\xmltoken.hxx,v1.32
xml\xmloff\source\chart\SchXMLExport.cxx,v1.66
xml\xmloff\source\chart\SchXMLExport.cxx,v1.65
xml\xmloff\source\chart\SchXMLImport.cxx,v1.27
xml\xmloff\source\chart\SchXMLPlotAreaContext.cxx,v1.28
xml\xmloff\source\chart\SchXMLPlotAreaContext.hxx,v1.15
xml\xmloff\source\core\xmltoken.cxx,v1.34
Comment 6 bjoern.milcke 2002-09-13 16:03:43 UTC
*** Issue 5086 has been marked as a duplicate of this issue. ***
Comment 7 kla 2002-10-17 08:28:22 UTC
*** Issue 8436 has been marked as a duplicate of this issue. ***
Comment 8 kla 2002-10-17 10:15:14 UTC
*** Issue 8436 has been marked as a duplicate of this issue. ***
Comment 9 kla 2002-10-22 08:33:05 UTC
*** Issue 8555 has been marked as a duplicate of this issue. ***
Comment 10 kla 2002-11-28 15:22:47 UTC
closed