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

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

    XMLWordPrintable

    Details

      Description

      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;
              }
          }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Imported: