JDK-8094228 : Charts: minor ticks disappear
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8u20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-14
  • Updated: 2016-09-27
  • Resolved: 2014-04-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u20Fixed
Related Reports
Relates :  
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.
Comments
Changeset: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/33aef54e80d0
16-04-2014

+1
15-04-2014

Jonathan, please review: http://cr.openjdk.java.net/~msladecek/rt-36663/webrev.00/
15-04-2014

@Steve: Was this reassigned back to me on purpose? Martin has been taking care of charts issues for quite a while now so he is the best person for the job, unless I'm missing some context?
14-04-2014

Actually, the exact size of my Ensemble window on Mac is 1024x681
14-04-2014

Note that this may depend on the size of the Ensemble window. For me it is sized at about 1024x700 or so. The chart is displayed on the right, and the DESCRIPTION, VIEW SOURCE, etc. are displayed on the left.
14-04-2014