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

Bar Chart Freezes Application with Long XYChart.Series Name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • fx2.0.1, 8
    • javafx
    • Windows7, JavaRuntime 7, JavaFX 2.0.1

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: