Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127095

[StackedBarChart] when data is removed, stack doesn't move down.

XMLWordPrintable

      See attached image.

      Removing is done using code:

          protected class RemoveSeriesNode extends TestNode {
              public RemoveSeriesNode() {
              }
              @Override
              public Node drawNode() {
                  final XYChart chart = (XYChart)createObject();
                  Platform.runLater(new Runnable() {
                      public void run() {
                          int counter = 1;
                          while (counter < chart.getData().size()) {
                              chart.getData().remove(counter++);
                          }
                      }
                  });
                  return chart;
              }
          }

            psomashe Parvathi Somashekar (Inactive)
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: