GetValueByY()
<< Click to Display Table of Contents >> GetValueByY() |
Returns the series value on the chart scale determined by a y pixel coordinate on the chart.
A double value representing a series value on the chart scale. This is normally a price value, but can represent indicator plot values as well.
y |
A float value representing a pixel coordinate on the chart scale |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |
In the image below, we pass a value of 1 for the y value, which tells us the pixel coordinate of 1 is located at a price of 2106.19 on the chart scale