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.
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.
- relates to
-
JDK-8163486 NumberAxis: inaccurate rendering of ticks when tick unit is low
- Resolved