Forum Stats

  • 3,734,237 Users
  • 2,246,916 Discussions
  • 7,857,196 Comments

Discussions

Displaying gaps on charts in JavaFX

User_899LL
User_899LL Member Posts: 3 Green Ribbon

I'm using XYChart in JavaFX 8 and I would like to display gaps for empty cells for the specified series. When I passed null value then I got NullPointerException:

series.get(index).getData().add(new XYChart.Data<>(Key, null));

I also found the bug https://bugs.openjdk.java.net/browse/JDK-8092134 describing this problem, but I don't know is it still actual.

Does anyone know how to resolve this problem?

Best regards,

Michael

Tagged:
Sign In or Register to comment.