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

PieChart data default colors are randomly choose.

    XMLWordPrintable

Details

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

    Description

      If you add some data to a pie chart and then reload the view, the colors will change.

      To check that it's bug, I wrote a simple test case with a pie chart that had only one data.

      If you remove the data and add it again, the default color will change (css default color class is increased).

      The expected default color should be default-color0 for the first data, even if we remove and add it again (by keeping only one data).

      Attachments

        Activity

          People

            msladecek Martin Sládeček
            skevinjfx Senechal Kevin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: