List of usage examples for javafx.scene.chart Chart setAnimated
public final void setAnimated(boolean value)
From source file:gui.accessories.GraphPopup.java
private void initFX(JFXPanel fxPanel) { // This method is invoked on the JavaFX thread Stage window = new Stage(); window.initModality(Modality.APPLICATION_MODAL); window.setTitle(labels.getString("PONTOS.VITORIA")); window.setMinWidth(500);/*from w w w . ja v a 2 s. c o m*/ Chart chart = createStackedBarChart(); chart.setAnimated(true); Scene scene = new Scene(chart); //show and tell window.setScene(scene); window.showAndWait(); fxPanel.setScene(scene); }