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.
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.
Thanks for your response.
Maybe in the future some way could be added to access the trendline data somehow. Perhaps a viewForMarkerInSeriesTrendline, or some .trendlineMarker property in the existing viewForMarkerInSeries?