Sparkline Data Starting with Null


I have Sparklines displaying a quick overview of time series data. This works well, except when the data starts with null.

See example below:

If you change the first value to a valid number, such as 0, there sparkline renders, ignoring the rest of the nulls:

How should one handle nulls in this array? I can live with it ignoring a few in the middle, but not rendering at all is a bit of a problem. My quick fix would be to set the first element to the minimum range, but it is not ideal.

The time series chart component bogged down the whole client in this dashboard application as there are a few visible at once, so that is not really an alternative.