changeset 2855:627e2260bc52

RT-13672 CategoryAxis diff animated property for diff constructors
author Paru Somashekar <paru.somashekar@oracle.com>
date Thu, 07 Mar 2013 17:15:05 -0800
parents d79881867641
children 53284fc129a4
files javafx-ui-controls/src/javafx/scene/chart/CategoryAxis.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/chart/CategoryAxis.java	Thu Mar 07 17:01:59 2013 -0800
+++ b/javafx-ui-controls/src/javafx/scene/chart/CategoryAxis.java	Thu Mar 07 17:15:05 2013 -0800
@@ -75,7 +75,7 @@
                     // Ideally we should be using a Set for categories.
                     for (String addedStr : c.getAddedSubList())
                         checkAndRemoveDuplicates(addedStr);
-                }
+                    }
                 if (!isAutoRanging()) {
                     allDataCategories.clear();
                     allDataCategories.addAll(getCategories());
@@ -260,7 +260,6 @@
      * @param categories List of the categories for this axis
      */
     public CategoryAxis(ObservableList<String> categories) {
-        setAnimated(false);
         setCategories(categories);
     }