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

BarChart overrides NumberAxis settings

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • b41

      In the app I explicitly set both upper and lower bounds and also tick unit for the BarChart axis:

              numberAxis.setLowerBound(-100.0F);
              numberAxis.setUpperBound(300.0F);
              numberAxis.setTickUnit(100.0F);

      After it is rendered the values change:


      getLowerBound = -150.0, getUpperBound = 350.0, getTickUnit = 50.0

          Loading...
          Uploaded image for project: 'JDK'
          1. JDK
          2. JDK-8128484

          BarChart overrides NumberAxis settings

            • Icon: Bug Bug
            • Resolution: Not an Issue
            • Icon: P4 P4
            • None
            • fx2.0
            • javafx
            • b41

              In the app I explicitly set both upper and lower bounds and also tick unit for the BarChart axis:

                      numberAxis.setLowerBound(-100.0F);
                      numberAxis.setUpperBound(300.0F);
                      numberAxis.setTickUnit(100.0F);

              After it is rendered the values change:


              getLowerBound = -150.0, getUpperBound = 350.0, getTickUnit = 50.0

                    psomashe Parvathi Somashekar (Inactive)
                    mrkam Alexander Kuznetcov (Inactive)
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                      Created:
                      Updated:
                      Resolved:
                      Imported:

                        psomashe Parvathi Somashekar (Inactive)
                        mrkam Alexander Kuznetcov (Inactive)
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        0 Start watching this issue

                          Created:
                          Updated:
                          Resolved:
                          Imported: