Hello,
I have created a JavaFX chart with some points.
I'd like to select a point with left click on mouse.
This is a simplified part of my code:
@FXML
private Pane chartPane;
JavaFXChartFactory factory = new JavaFXChartFactory();
AWTChart chart = (AWTChart) factory.newChart(Quality.Advanced, Toolkit.offscreen);
Shape shape = new Shape();
PickablePoint point = new PickablePoint(coord3d, Color.BLACK, 10);
shape.add(point);
ImageView imageView = factory.bindImageView(chart);
chartPane.getChildren().add(imageView);
I have seen the documentation but I don't understand how set mouse pick event on point.
Now I using the last 1.0.0 snapshot.
Could you help me please?
Thanks