< prev index next >

modules/controls/src/main/java/javafx/scene/chart/Chart.java

Print this page

        

*** 49,58 **** --- 49,59 ---- import javafx.scene.layout.Pane; import javafx.scene.layout.Region; import com.sun.javafx.charts.ChartLayoutAnimator; import com.sun.javafx.charts.Legend; + import com.sun.javafx.scene.NodeHelper; import javafx.css.StyleableBooleanProperty; import javafx.css.StyleableObjectProperty; import javafx.css.CssMetaData;
*** 308,318 **** /** * This is used to check if any given animation should run. It returns true if animation is enabled and the node * is visible and in a scene. */ protected final boolean shouldAnimate(){ ! return getAnimated() && impl_isTreeVisible() && getScene() != null; } /** * Called to update and layout the chart children available from getChartChildren() * --- 309,319 ---- /** * This is used to check if any given animation should run. It returns true if animation is enabled and the node * is visible and in a scene. */ protected final boolean shouldAnimate(){ ! return getAnimated() && NodeHelper.isTreeVisible(this) && getScene() != null; } /** * Called to update and layout the chart children available from getChartChildren() *
< prev index next >