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.
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.