[StackedAreaChart] Auto-ranging in Y does not compute correct range

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u20
    • Affects Version/s: 8u20
    • Component/s: javafx
    • None

      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).

            Assignee:
            Martin Sládeček
            Reporter:
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: