Apache OpenOffice (AOO) Bugzilla – Issue 66818
Regression curves: Tons of assertions in dialog
Last modified: 2013-02-24 21:20:28 UTC
Insert a line or XY chart with a regression curve. Open the object format dialog of the curve - tons of assertions. (Must be a line type chart, no problems in a bar chart.)
target
Some of the failed assertions: Error: - unknown Property: BorderStyle From File D:\chart2mst3\SRC680\chart2\source\controller\itemsetwrapper\ItemConverter.cxx at Line 164 Error: - unknown Property: FillBitmapRectanglePoint From File D:\chart2mst3\SRC680\chart2\source\controller\itemsetwrapper\ItemConverter.cxx at Line 164 Error: - unknown Property: CharColor From File D:\chart2mst3\SRC680\chart2\source\controller\itemsetwrapper\ItemConverter.cxx at Line 164 Error: - unknown Property: Geometry3D From File D:\chart2mst3\SRC680\chart2\source\controller\itemsetwrapper\ItemConverter.cxx at Line 164 This looks like the dialog item converter expects the regression curve (or the series?) to be a filled data series (like the series of a bar chart).
Fixed in SRC680.m223. ->DR: Please verify.
setting to fixed.
Oops, sorry, checked the wrong chart type. Seems indeed only to happen for scatter charts.
Still occurs for scatter charts.
Created attachment 47254 [details] Patch for removing the mentioned assertions
->iha: Please have a look at the patch. It resolves the assertions, and I think the fix is correct, however I am not so familiar with the code, so you should verify this. * I presume The "has-" properties that are generated by the ChartTypeHelper are probably only relevant for data points and series, right? * The check if type == series or _label_ seems to be wrong, and should rather be if type == series or _point_, alsot right?
Ok, already found one problem: secondary axis makes no sense for data points, however does it for labels?
all the properties that were in the brackets were not offered for single datapoints before m_bHasStatisticProperties, m_bHasRegressionProperties, m_bProvidesSecondaryYAxis, m_bProvidesOverlapAndGapWidth This should be changed back. The data labels so far lead to the same properties dialog as the series. This is ok as long as the label settings like font etc, are all in the series properties dialog. The same yields for a single label and a single point.
Created attachment 47544 [details] Revised version of the patch
I attached a new version of the patch and also committed these changes in CWS chart11. ->iha: Please verify that the changes are correct now.
adapting target
->dr: please verify in CWS chart11.
verified
closed