-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8u20
-
Windows 7, JDK 8 Early Access build b120
This is a follow up of RT-35052, originally written against 7u45.
Please refer to the second code sample provided inRT-35052, which exhibits the following problems in 8u20:
1. In this instance, comment out the line xAxis.setTickLabelRotation(90), thus no rotation is called for. Notice that the labels along the x-axis are horizontal. Now start reducing the width of the display and notice that the labels ultimately get vertically oriented (as would be expected because of the size restrictions). Now start increasing the width of the display, but notice that the labels will continue to stay vertical, even when the width is past the original size.
2. In this instance, set the rotation to 45, as in xAxis.setTickLabelRotation(45). Notice that the labels along the x-axis are at a 45 degree angle. Now observe the same problem as in #1 above on re-sizing the window. That is, if the labels are caused to be rendered vertically due to the reduced display size, they will not revert to 45 degrees even when increased space ought to permit doing so.
Please refer to the second code sample provided in
1. In this instance, comment out the line xAxis.setTickLabelRotation(90), thus no rotation is called for. Notice that the labels along the x-axis are horizontal. Now start reducing the width of the display and notice that the labels ultimately get vertically oriented (as would be expected because of the size restrictions). Now start increasing the width of the display, but notice that the labels will continue to stay vertical, even when the width is past the original size.
2. In this instance, set the rotation to 45, as in xAxis.setTickLabelRotation(45). Notice that the labels along the x-axis are at a 45 degree angle. Now observe the same problem as in #1 above on re-sizing the window. That is, if the labels are caused to be rendered vertically due to the reduced display size, they will not revert to 45 degrees even when increased space ought to permit doing so.