Page 1 of 1

Update a annotation after a color line has been dragged

Posted: Fri Feb 01, 2019 1:13 am
by 16585021
I need to update the content of an annotation with the Y value of a series after a color line has been moved. The color line is associated with the bottom (X) axis.

I can get the X Value fairly simple:

srsRegUsers.CalcPosValue(crttlLine.Value)

But how do I get the Y value for the color line's location?

Thank you,

Ed Dressel

Re: Update a annotation after a color line has been dragged

Posted: Thu Feb 07, 2019 3:50 pm
by 16585021
I have attached a demo of what I am needing--I don't know what to use for the Y-value.

Re: Update a annotation after a color line has been dragged

Posted: Mon Feb 11, 2019 8:51 am
by yeray
Hello,

You should calculate the Line Interpolation as shown in the example here.