Jump to content
Software FX Community

Trend line


User (Legacy)

Recommended Posts

"Dan Reber" <nospam@spam.com> wrote in message

news:8FMS4qYHEHA.2848@webserver3.softwarefx.com...

> My clients have asked me about trend lines but I am not sure what they are

> and if Chartfx supports them. Does Chartfx support them?

>

> Thanks

>

> Dan Reber

>

You can do this without the Financial package, but it requires that you add

a new series to your chart, and calculate each point in the series yourself.

Do some searching for "least squares linear regression" to see how it's

done. Basically, you need to calculate the Y intercept and slope of the

best fit line through your data points, and create a series that represents

this line.

GG

Link to comment
Share on other sites

Statistical is only available for the .NET platform at this time.

Another way you can do a trend line is by calculating it yourself and using

an annotation object (Arrow) to draw it. You need to calculate the logical

x,y position (in X and Y axis units) for the beginning and end of the line

and then attach the annotation arrow to these points (ATTACH_ELASTIC). Check

out the annotation extension docs. for details.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Thanks for the help

Dan

"Gary German" <garyg@NOSPAMXshastasoftware.com> wrote in message

news:BTXkUraHEHA.2848@webserver3.softwarefx.com...

> "Dan Reber" <nospam@spam.com> wrote in message

> news:8FMS4qYHEHA.2848@webserver3.softwarefx.com...

> > My clients have asked me about trend lines but I am not sure what they

are

> > and if Chartfx supports them. Does Chartfx support them?

> >

> > Thanks

> >

> > Dan Reber

> >

>

> You can do this without the Financial package, but it requires that you

add

> a new series to your chart, and calculate each point in the series

yourself.

> Do some searching for "least squares linear regression" to see how it's

> done. Basically, you need to calculate the Y intercept and slope of the

> best fit line through your data points, and create a series that

represents

> this line.

>

> GG

>

>

Link to comment
Share on other sites

Thanks for the help.

"Software FX Support" <support@softwarefx.com> wrote in message

news:mhOPP0jHEHA.2848@webserver3.softwarefx.com...

> Statistical is only available for the .NET platform at this time.

>

> Another way you can do a trend line is by calculating it yourself and

using

> an annotation object (Arrow) to draw it. You need to calculate the logical

> x,y position (in X and Y axis units) for the beginning and end of the line

> and then attach the annotation arrow to these points (ATTACH_ELASTIC).

Check

> out the annotation extension docs. for details.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...