In my javascript code I use this expression to make a calculation to obtain value of a graph with the position of the mouse (posY). 460 is the position of my axis, and the maximum and minimum values of the graph of the y-axis.
value = ((460 - posY) * (maxtemp-txtmintemp)/(460-60)+txtmintemp);
From this expression I wanted to get the Y position, and I have the value, such as this:
10.30 = ((460 - posY) * (maxtemp-txtmintemp)/(460-60)+txtmintemp);
How can I calculate this expression by isolating posY, which is the value I want to get.