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

NumberAxis: doesnt have method to set Axis Label fill to a different value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Windows 7, Javafx 2.0 beta

      Description

      There is no method available that can help us to change the color of NumberAxis labels, there is a method called setTickLabelFill to change the color of tick labels but there is no method like setLabelFill. In Javafx version 1.3 this was achievable by using the labelFill property like this

      xAxis: NumberAxis {
                          lowerBound: 260
                          upperBound: 320
                          tickUnit: 10
                          label: "Center of Gravity (inches from datum)"
                          tickLabelFill: Color.WHITE
                          labelFill: Color.BLUE
                      }

        Attachments

          Activity

            People

            • Assignee:
              psomashe Parvathi Somashekar (Inactive)
              Reporter:
              abhilshitjfx Abhilshit (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: