I\'m trying to create an application with a zoomable/pannable canvas.
Features:
In FX8 you can do
final Affine accumulatedScales = new Affine();
chart.getTransforms().add(accumulatedScales);
chart.setOnScroll(new EventHandler() {
@Override public void handle(ScrollEvent event) {
accumulatedScales.appendScale(scaleFactor, scaleFactor, event.getX(), event.getY());
}
});
and you are done