@saul_romero,
Can you kindly create JSFiddle reproducing the issue you are facing & share it with us, so that we can look into the code, understand the scenario better and help you out?
Please refer to this documentation page for step-to-step tutorial on creating dynamic charts. Also checkout this forum topic related to ECG graph using CanvasJS chart.
—
Vishwas R