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

Bar Chart Freezes Application with Long XYChart.Series Name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0.1, 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Windows7, JavaRuntime 7, JavaFX 2.0.1

      Description

      final CategoryAxis xAxis = new CategoryAxis();
      final NumberAxis yAxis = new NumberAxis();
      List headers = this.getHeaders();
      xAxis.setLabel("XAxis");
      yAxis.setLabel("YAxis");

      final LineChart<String, Number> lc = new LineChart<String, Number>(xAxis, yAxis);
      XYChart.Series<String, Number> series = new XYChart.Series<String, Number>();
      series.setName("Something quite long but not too long etc etc etc");

      lc.getData().add(series); // Freezes up and never renders

      I am running the application in standalone when the freeze occurs.

        Attachments

          Activity

            People

            Assignee:
            psomashe Parvathi Somashekar (Inactive)
            Reporter:
            nsorensenjfx Neal Sorensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: