shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs

Home Page:https://shutterstock.github.io/rickshaw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can Rickshaw.Series.fill help me fill missing data in series?

simPod opened this issue · comments

Hi, I'd like to ask how exactly can I use Rickshaw.Series.fill. I was wondering how can add missing data points, whether it would be able to add null values to the places where I'm missing data.

My graph with 2 data points looks like this but I don't fancy the lines connecting both points on sides of gaps. I would prefer empty space or at least 0 instead.

image
image

I understand it might be very difficult with inconsistent steps between points however I was able to round steps to multiples of 60 seconds.

If it's not possible with Rickshaw, I'd probably create the logic on the backend side