Description
1. Run Ensemble8
2. Click on the "StackedAreaChart" sample
3. Scroll the properties pane down to the "yAxis" section
4. Uncheck forceZeroInRange
5. Check autoRanging
The range will incorrectly be computed as [25, 27] (so no chart data is drawn); it should be [1,23] assuming a padding of one to ensure the whole chart is shown.
If you then do the following, the chart is displayed, but the upper bound of the range is too large:
6. Uncheck autoRanging
7. Check forceZeroInRange
8. Check autoRanging
The computed range will be [0,30]
Note also that if you manually set the lower bound of the range to something greater than 0 -- even as little as 0.001 -- The chart data is completely messed up.jfx-8
This is not a regression (at least not a recent one...it fails in FX 8 the same way).
2. Click on the "StackedAreaChart" sample
3. Scroll the properties pane down to the "yAxis" section
4. Uncheck forceZeroInRange
5. Check autoRanging
The range will incorrectly be computed as [25, 27] (so no chart data is drawn); it should be [1,23] assuming a padding of one to ensure the whole chart is shown.
If you then do the following, the chart is displayed, but the upper bound of the range is too large:
6. Uncheck autoRanging
7. Check forceZeroInRange
8. Check autoRanging
The computed range will be [0,30]
Note also that if you manually set the lower bound of the range to something greater than 0 -- even as little as 0.001 -- The chart data is completely messed up.jfx-8
This is not a regression (at least not a recent one...it fails in FX 8 the same way).
Attachments
Issue Links
- relates to
-
JDK-8097159 [StackedBarChart] Chart fails to display if lowerBound of Y axis greater than 0
- Resolved