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

Highlighed border of PieChart's pie doesn't look pretty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      Product: javafx-2.0beta
      Platform: windows-i586
      Build-Number: 191
      Build-ID: 2011-06-22_10-47-58
      Windows 7 x64

      Description

      I added the following stylesheet to hightlight pies of PieChart under mouse cursor:

      .chart-pie:hover {
          -fx-border-color: WHITE;
          -fx-border-width: 2;
      }

      There are two problems:
      1. Some of pies are drawn behind the others so that their white borders are not fully visible
      2. Topmost pie has sharp stroke join in the center of the pie so that it doesn't look pretty. I believe round join is more suitable here.

        Attachments

        1. otherPies.png
          90 kB
          Alexander Kuznetcov
        2. topmostPie.jpg
          29 kB
          Alexander Kuznetcov

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: