Thank you for replying and the solution in JSFiddle makes sense now. However, CanvasJS does not seem to be automatically setting the maximum and minimum for the axisY on the graph and setting 0 – 40 instead. Would you be able to tell me why this is the case? When reading the documentation does it not say the max and Min are set automatically by the type of data. What are the criteria used to set the max Min automatically and why in this particular graph that is not happening. I just trying to figure things out.
Kind regards.