Le Farfadet Spatial wrote:
    Hello everybody out there !

Gabriel Hurley a wrote :


To Whom it May Concern,

It is good that OpenOffice Calc allows users to make regression lines
on their graphs. It would be even more useful if users could also put
the equation of the regression line (calculated by the computer) onto
the graph as well. For example, y = 3x + 2 . This would be immensely
helpful.

In the new chart implementation (hopefully coming soon), the interface XRegressionCurveCalculator supports a method

    string getRepresentation();

for getting the formula in the form you described. Maybe we will change the signature to return a sequence of FormattedString to allow sub- and superscript in formulas.

You can also get R from  the method

    double getCorrelationCoefficient();

In the UI we still have the old expressions in the legend, but we plan to somehow offer these strings in the UI.

The interfaces and the new chart implementation are available on CWS chart2mst3. If anybody is interested, we might provide public access to current builds of this CWS, like we did in the past.

    I have propose some code to allows that, that you can see on issue
25478 -- use the last archive, posted on 4th January 2004. I have got
some little things to do before make it as an UNO component. It has been
a while since I have not work on it, I am sorry. I hope I will be able
to make something on it soon.

Do you really have a component to extend the current chart implementation (sch) or did you do something for the new chart (chart2)? Or is your component a Calc-addin?

Regards,
Bjoern

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to