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

Ensemble Custom Candle Stick Chart: seriesPath gets added but not removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • javafx
    • None

      The custom "Adv Candle Stick Chart" Example in the Ensemble adds a "seriesPath" Path Node in the seriesAdded() method to the plotChildren element but it will not be removed in the corresponding seriesRemoved() method! A fix would be as easy as adding a "getPlotChildren().remove(series.getNode());" call at the end of the seriesRemoved() method.

      I think it's important to fix the example because others - like me - might use the example as the base for their own custom chart. In my case I changed the example to a more general BoxPlot and it made me headaches (and new gray hair :-) that some lines simply refused to go away when I was removing/adding new series to the chart.

            dmasada Debra Masada (Inactive)
            jhohmuthjfx Jens Hohmuth (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: