Re: Finding value on a chart - attn. Derek

new topic     » goto parent     » topic index » view thread      » older message » newer message
doncole2009 said...

Solve for Value given the the Y.

Try this ...

  function getValue(integer Y) 
    TickRatio = ((MaxVal - MinVal) / (MaxY - MinY))  
    return floor(MinVal - TickRatio * (Y - MaxY)) 
  end function 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu