Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097122

[PieChart] label line length equal to 0 results in label disappearing.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      8.0b112

      Description

      Run the attached app.
      I don't see labels, but they must be.

      If you change, for instance

      chart.setLabelLineLength(0) -> chart.setLabelLineLength(-0.1) they will start to render again.

      Affected tests:
      ControlsAutomatedTestSuite/javafx/scene/control/test/chart/PieChartTest/cssLabelLineLength
      ControlsAutomatedTestSuite/javafx/scene/control/test/chart/PieChartTest/labelLineLengthTest

        Attachments

          Activity

            People

            Assignee:
            msladecek Martin Sládeček
            Reporter:
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: