SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

Dear SciChart Team:

My application interface is shown in the attached file. There are four Y-axis and one X-axis. One curve corresponds to one Y-axis. I use the dragging of two HorizontalLineAnnotations and Y1 subtraction to calculate Diminish, but this can only get HorizontalLineAnnotation. Dominish with the Y axis specifying YAxisId, if I want to get Diminish for all Y axes at once, what is the recommended method?

Version
4.2.2.9777
Images
  • You must to post comments
0
0

Hi Johnny,

Thanks for your question.
You can get the pixel coordinate for Y1 of the HorizontalLineAnnotation and then, using our Coordinate Calculator API convert this coordinate to the value on each YAxis. For more info please take a look at this documentation article regarding Coordinate Calculator API:
https://www.scichart.com/documentation/v5.x/webframe.html#Axis%20APIs%20-%20Convert%20Pixel%20to%20Data%20Coordinates.html

Hope this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.