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

invalid PieChart in case of negative data.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 9
    • javafx

      please run the test code from JDK-8164646, having
          double A = -2., B = 2.; // => nok.png
      or
          double A = -1., B = 2.;
      or
          double A = -1., B = -2.; // empty chart
      etc.

      If the negative data are prohibited, then
      1. an appropriate exception should probably be thrown
      2. it should be documented

            vadim Vadim Pakhnushev
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: