1 Reply Latest reply: Apr 4, 2013 6:18 AM by 1000056 RSS

    LineChart mouse coordinates

    1000056
      Hi. How can I convert coordinates of mouse cursor to chart coordinates ?

      This code works, but gives shift error:

      x = chartAxisX.getValueForDisplay(chartAxisX.parentToLocal(event.getX,0).getX).doubleValue
      y = chartAxisY.getValueForDisplay(chartAxisY.parentToLocal(0, event.getY).getY).doubleValue

      Edited by: 997053 on Mar 29, 2013 2:55 PM