mattosaurus / ChartJSCore

Implementation of Chart.js for use with .NET Core.
GNU General Public License v3.0
116 stars 34 forks source link

Add Support to null values in dataset data. #55

Closed Fandradec closed 4 years ago

Fandradec commented 4 years ago

When you want to show a series of data where one of the values ​​does not exist, or there is no data, you should be able to add "null" instead of 0. For that, the Dataset class is modified, its Data property from List to List <double?>

https://jsfiddle.net/fjfandradec/pfnvj3q4/

mattosaurus commented 4 years ago

Thanks, I didn't realise null data points were acceptable, I've accepted your PR and published v1.5.7 to NuGet.