NaN values are drawn as black regardless of the chosen "Missing Data" color

Issue #253 closed
Lance Parsons created an issue

No description provided.

Comments (5)

  1. Christopher Keil repo owner

    In Java doubles can take on certain special values such as "NaN" or "Infinity". Double.parseDouble has set NaN strings as "NaN"-doubles which were never recognized as missing data. The "value" of missing data was previously (TreeView 2) defined in DataModel as NODATA = -100000 (?).

    Data with that value was considered "missing" in TreeView. I have now changed this to "NaN" which makes 10000 times more sense and it reduces some complex reliable floating point equality checks to the inbuilt Double.isNan() function. I have done the analog thing for EMPTY values which are now Double.Infinite.

  2. Log in to comment