@jamesrus52,
We have tried the condition given above and its rendering within a few seconds at our end. Can you please create a JSFiddle reproducing the issue you’re facing so that we can look into the code, understand it better and help you out.
____
Shashi Ranjan
Team CanvasJS