@eu-mesma,
Within clearThis()
, you are trying to assign dataPoints to dataSeries. Updating it properly should work fine in this case i.e. Replacing chart1.data = load1;
with chart1.options.data[0].dataPoints = load1;
should work fine. Here is the working code of the same.
—
Vishwas R
Team CanvasJS