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

Charts: minor ticks disappear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • 8u20
    • javafx
    • None
    • Tested on Mac, but should be platform-independent.
      8u20-dev, Hudson build #606

    Description

      1. Run Ensemble8 and open the AreaChart demo.

      For the xAxis:

      2. Uncheck the autoRanging checkbox.
      3. Set lowerBound to -2
      4. Set upperBound to 10
      5. Set tickCount to 0.5
      6. Now set the minorTickCount to 10

      Observe that the minor ticks are no longer rendered. They only appear back when you set the minorTickCount to the value of 7 or less.
      I realize that there might be not enough pixels to render all 10 minor ticks in the space available, however, they shouldn't disappear altogether.

      Attachments

        Issue Links

          Activity

            People

              msladecek Martin Sládeček
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: