Is anyone who knows how to achieve this function?Ĭonverts the X and Y coordinates on a chart to the time and price values. I just ran into this problem in my Java Robot programming, and the short answer is, to get the current mouse cursor location/position, use the getPointerInfo method of the class, like this: Point p MouseInfo.getPointerInfo (). In CodePen, whatever you write in the HTML editor is what goes within the tags in a basic HTML5 template.
It we move the mouse, we can see Price data and Time data by using "Crosshair,Ctrl+F", But How to output the data to the variable ? left click mouse to capture the area MessageBox will display results Press Esc to exit. This context menu item will open an extension page in its own popup window. position crosshair and right click mouse to anchor it 2. My Firefox add-on is adding a context menu to its browser action (browser toolbar button) using () and specifying the browseraction context. We can use " CHARTEVENT_CLICK" to get X coordinate value and Y coordinate value of mouse position, But How to get Price data and Time data of mouse position by clicking the mouse? Reports position and size of selected rectangle To select area: 1.