ANNOUNCEMENT: community.oracle.com is currently Read only due to planned maintenance until 02:30 AM PST, 28-March-2015. Any changes made during Read only mode will be lost and will need to be re-entered when the application is back read/write.
Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
JavaFX 2.0 and Later
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 4, 2013 4:18 AM by
LineChart mouse coordinates
Mar 29, 2013 2:56 PM
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
This content has been marked as final.
Show 1 reply
Re: LineChart mouse coordinates
Apr 4, 2013 4:18 AM
in response to
stopped on this code:
axisX.getValueForDisplay(e.getX - (axisY.getTickLength
axisY.getValueForDisplay(e.getY - (axisX.getTickLength