Hi Lee,
We
have examined your query. As we mentioned previously that we do not have direct
support to get the points from the trendline. However, we can get the points
using the mouse move event by line series with trendline. We can show the Y
value to the Label content.
If
you need to get the difference between the trendvalue and graph’s Y value, you
can get the value from mouse move event of series.
Here
we attached the sample for your reference. You can also refer to the below provided
code snippet to get the Y value.
private void LineSeries_MouseMove(object
sender, MouseEventArgs e)
{
var series = sender as ChartSeries;
Point mousePoint = new Point
{
X = e.GetPosition(series).X,
Y = e.GetPosition(series).Y
};
double yValue = this.myChart.PointToValue(this.myChart.SecondaryAxis,
mousePoint);
chartLabel.Content = yValue.ToString();
}
|
Output:

We hope this meets your requirements. Let me know if you need
further assistance.
Regards,
Dhanaraj Rajendran.
Attachment:
SF_F187456_6425dccf.zip