Open ckane30691 opened 6 years ago
Okay, so I solved this by copying the source into a file and then importig ES6 style. Had to name the function and export it. See merge.
This is probably the only way to do it because there is no official npm package and the one that claims to be CanvasJS is an amateur trying to copy it and improve it.
Title says it all. We also need to get rid of the script tag for it once that's done.