JavaFX does not provide a CENTER value for Side so I am trying to center the X and Y Axis by translation:
scanXAxis.setTranslateY(0.5*scanYAxis.getBoundsInParent().getHeight()); // xAxis initially on TOP
scanYAxis.setTranslateX(0.5*scanXAxis.getBoundsInParent().getWidth()); // yAxis initially on LEFT
The result I am getting however are axes crossing at a point that depends on the scene's size instead of (0,0) i.e I can get them crossed at the origin by manually resizing the scene. This is exaclty the reverse of what I am striving for.
Any help would be greatly appreciated!
Cheers