Regression Line on Line Series

2 posts, 0 answers
  1. Phil
    Phil avatar
    47 posts
    Member since:
    Mar 2015

    Posted 10 Oct 2016 Link to this post

    I have a graph that shows the values of certain measures by time.  I wanted to create a regression line that I can toggle on and off.  I think i can handle the toggle on and off.  But wanted to know if there is any clever or easy way to do the regression line?

    The only way I can see to do it is calculate the long way for each value in the series.




  2. Stef
    Stef avatar
    3610 posts

    Posted 12 Oct 2016 Link to this post

    Hi Phillip,

    You will have to make custom calculations per X point and provide the final value in the Graph item's DataSource. then you can add LineSeries displaying the value.
    The calculation can be done in the data-retrieval method, as a calculated field per row of data, or as an expression of the series' X|Y property.

    Such calculations are not included in the graph item's functionality. Please feel free to log a feature request for having an option to add series based on specific formula and the graph's data.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top