OWC11 Chart trendline

G

Gregory Moron

How to get the trendline equation?
I have an OWC11 Chart with one series with a trendline.
The trendline equation is visible on a chart and in a tooltip, yet there
seems to be no way to get the equation string to copy it.
Or am I wrong?

BTW: the following line, albeit looks promising (I'm using C#):
string str =
axChartSpace.Charts[0].SeriesCollection[0].Trendlines[0].Caption;
doesn't return the equation, but some useless string e.g. 'Linear (series
name)'

Thanks
Gregory
 
A

Alvin Bruney [MVP]

If memory serves me correctly, I think what it returns is the exponents and
constants, you'd need to use this to build out the function. could be wrong
though because it has been a while since i've played with trendlines.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top