Best Fit Line

Thread is closed for posting
4 posts, 0 answers
  1. Michael Fielding
    Michael Fielding avatar
    6 posts
    Member since:
    Aug 2009

    Posted 19 Aug 2009 Link to this post

    Is it possible to draw a best fit line or curve through a set of points that have been plotted on a chart control? I have two series, one whose trend is a straight line, and one whose tren is an exponential curve. Can the RAdChart control calculate the best fit line for me? If not, does anyone know where I can find the code to calculate the line so I can plot it manually?

    Thanks,

    Michael
  2. Ves
    Admin
    Ves avatar
    2927 posts

    Posted 21 Aug 2009 Link to this post

    Hi Michael,

    Unfortunately, RadChart does not support this feature. You will have to define a line series and populate it with the points for the best fit line, but you will need to calculate those points. You can find some very good articles about best fit line out there, here is one example:

    http://people.hofstra.edu/stefan_waner/realworld/calctopic1/regression.html

    Sincerely,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Michael Fielding
    Michael Fielding avatar
    6 posts
    Member since:
    Aug 2009

    Posted 21 Aug 2009 Link to this post

    Thanks Ves. Are there any plans to add this as a feature in future verisons?

    Michael
  4. Ves
    Admin
    Ves avatar
    2927 posts

    Posted 25 Aug 2009 Link to this post

    Hi Michael,

    I am sorry to say it but this feature is not in our immediate plans for the control.

    Best regards,
    Ves
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top