@arthurtechninjas-co-za,
CanvasJS is a javascript library that runs on the client-side(in browser). To save an image on server side, you need to run CanvasJS library on a headless browser. Please refer to this Stack Overflow thread to know more about running headless browser in shared hosting.
—-
Manoj Mohan
Team CanvasJS