I\'m trying to display a VisualizePanel chart from the Weka API on JavaFX. I\'ve found some code that uses SWING, I want to do the same thing but on JavaFx. Swing code below