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

NumberAxis: inaccurate rendering of ticks when tick unit is low

XMLWordPrintable

        Just a minor renderung issue.

        JDK9 b129 + Windows 7, 10

        Please run the attached test code. The ticks (y-axis) may look a bit irregular, especially when resizing the window (see the screenshot attached - "ticks_nok.png").

        Please see also a notable gap before 100 for x-axis.

        When setting some greater tick unit value (e.g., 10) the ticks look as expected

          1. ScatterChartTest.java
            2 kB
            Alexander Stepanov
          2. ticks_nok.png
            28 kB
            Alexander Stepanov
          3. test-expected.png
            11 kB
            Alexander Stepanov
          4. test.png
            16 kB
            Alexander Stepanov
          5. ticks_nok_2.png
            8 kB
            Alexander Stepanov
          6. HiDPI.png
            25 kB
            Alexander Stepanov
          7. HiDPI-2.png
            51 kB
            Alexander Stepanov
          8. 1-base.png
            46 kB
            Vadim Pakhnushev
          9. 2-bad.png
            31 kB
            Vadim Pakhnushev
          10. 3-good.png
            35 kB
            Vadim Pakhnushev

              vadim Vadim Pakhnushev
              avstepan Alexander Stepanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: