Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Possible to retrieve trendline data points?
posted

Is it possible using IGChartView to somehow retrieve the data points that make up the automatically generated trendline?

In my scenario, I want to show a custom marker/annotation at the beginning of the generated trendline. But since I don't know what the data points of the trendline are, I end up having to generate my trendline points programmatically and just display a spline line. Then I can display a custom marker, for example, on the second data point of the line, and no markers anywhere else. Basically it's an identifier of the line that displays on the line itself.

Any ideas would be helpful. Thanks.

Parents
No Data
Reply
  • 23930
    Verified Answer
    Offline posted

    Hello Jeff,

    Thank you for contacting Infragistics.

    After researching this it seems that the way you have been doing this is the best way to implement this. Even if you get the trendline datapoints you would still need a series in order to add the custom markers. So you will have to add the trendline as a series and then to add the custom marker.

    Please let me know if you have any additional questions.

Children