JavaFX LineChart how to handle NaN, null, or POSITIVE_INFINITY?

557
January 26, 2017, at 06:22 AM

I trying to add Double.NaN value as I do in JFreeChart, but JavaFX cant handle it correctly, so it makes this code

series.getData().add(new XYChart.Data<>(i, i%4!=0?a.data.get(i):Double.NaN));

absolutely equal to

if(i%4!=0) series.getData().add(new XYChart.Data<>(i, a.data.get(i)));

how looks Double.NaN and Positive infinity (sry for pic)

I searched the internet and only found this, but it is outdated: https://bugs.openjdk.java.net/browse/JDK-8092326

Yes, i need a gap in my chart.

READ ALSO
Adding an attribute to yii2 active record model that is not in database

Adding an attribute to yii2 active record model that is not in database

I have a mySQL database that has a table videos and two columns, start_time and end_time, which are in the format 2017-01-24 15:38:11

572
Redirecting non-www subfolder domain to www on wordpress multisite

Redirecting non-www subfolder domain to www on wordpress multisite

I currently have a multisite built in wordpressThe domain is set up to be:

244
return statement not return any value in php function

return statement not return any value in php function

Can someone tell me why my return statement is not return any value in data[0] however if i choose to echo it, it shows that there is a value in data[0] but wouldn't work with the return statement

410
How make output from database in excel file

How make output from database in excel file

who can make output from database(on host) as excel filexlsx ?? I'am try some codes but the file after download not work :/ must download lib for it? help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

269