I was looking for a Discussion/Forum board but couldn't find and so apologies if this is not the right place to ask questions.
I've worked my way through the following JavaFX example:
https://knowm.org/how-to-embed-xchart-into-a-javafx-application/
and the chart hugs to the parent anchor-pane.
However, in practice we typically want to embed a chart inside, say, a VBox or other container so that we can provide additional controls to the user.
Does anyone have an example of doing this since I haven't been able to get it to work as yet.
So - imagine extending the above example by adding a VBox containing the chart and ButtonBar with a Close button, and as we resize the overall window, all components resize as expected.
I was looking for a Discussion/Forum board but couldn't find and so apologies if this is not the right place to ask questions.
I've worked my way through the following JavaFX example:
https://knowm.org/how-to-embed-xchart-into-a-javafx-application/
and the chart hugs to the parent anchor-pane.
However, in practice we typically want to embed a chart inside, say, a VBox or other container so that we can provide additional controls to the user.
Does anyone have an example of doing this since I haven't been able to get it to work as yet.
So - imagine extending the above example by adding a VBox containing the chart and ButtonBar with a Close button, and as we resize the overall window, all components resize as expected.