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