1 thought on “Where is the documentation about adding and removing Data?

  1. I have found a workaround for the gap animation issue when removing old data. By setting the value of the first point to the second, then removing the second. Its a bit dirty, but I don’t know of any other way of doing this.

        if (this.chartData.datasets[0].data.length > 5) {
          this.chartData.datasets.forEach(dataset => {
            dataset.data[0] = dataset.data[1]
            dataset.data.splice(1, 1)

Comments are closed.