Ability to set different color on a group of BarChart

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: javafx
    • Environment:

      windows7 32bit

      I can only set same color on a group of BarChart as the code below.
      Have some way to set different colors on different bars?

      BarChart<Number, String> inspectItemBar = new BarChart<Number, String>(xAxis, yAxis);
      inspectItemBar.setId("problemBar");
      #inspect #problemBar .chart-bar {
          -fx-bar-fill: #ACDA23;
          -fx-background-radius: 0;
      }


      Thany you!

            Assignee:
            Unassigned
            Reporter:
            Slash Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported: