Hello and thank you for this wonderful tool.
I am trying to add a datapoint on the go to the graph and using chart.options.data[0].dataPoints.push({ y: 25 - Math.random() * 10});
works fine when we are adding a new point to the end of the graph.
However should I wish to add a a new point at the beginning of the graph (on x-axis) using the unshift method instead of push the y axis gets draw accordingly but the x axis stays the same and doesn’t take the gap like pushing does.
Any help wpuld be great.