Apache OpenOffice (AOO) Bugzilla – Issue 66692
New chart: Allow instantiation of Regression curves via ServiceManager
Last modified: 2013-02-24 21:20:22 UTC
To add a regression curve in the new chart via API, you have to create a curve and add it at the data series' XRegressionCurveContainer. The creation of the regression curves offered by OOo should work using the global service manager with the createInstance method.
set target to 2.x
New services that can be instantiated via the global service manager: Error-Bars: "com.sun.star.comp.chart2.ErrorBar" Regression-Curves (Trendlines): "com.sun.star.comp.chart2.MeanValueRegressionCurve" "com.sun.star.comp.chart2.LinearRegressionCurve" "com.sun.star.comp.chart2.LogarithmicRegressionCurve" "com.sun.star.comp.chart2.ExponentialRegressionCurve" "com.sun.star.comp.chart2.PotentialRegressionCurve"
Done. Closing, as this was only an implementation reminder.
closing as fixed