Jump to content
Software FX Community

Trend line


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...