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

PieChart data default colors are randomly choose.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      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

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

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: