Can you kindly provide us sample JSON, so that we can look into it and check the issue?
Please refer to this gallery page for an example on rendering chart with data from database. Also refer to this thread for more information on the same.

—
Vishwas R
Team CanvasJS
Hi Od,
It’s a known issue in spline that the spline is overshoots, and it will be resolved in future versions. The clipping towards axis in line is as per design, as user can set thickness and it overlaps the axis and other elements, to avoid this kind of issues, line will be clipped.
Basu,
Can you kindly provide the content/format of data your file contains, so that we can look into it and help you in this regard.
Rajrs,
CanvasJS Chart automatically sets the height and width of the chart according to container’s dimensions. If the values are not set for the container, it takes the default values.
In bootstrap, since the second tab is not displayed initially, chart takes the default values. To solve this issue, second chart is rendered when the shown.bs.tab event is fired by bootstrap.
Here is the working code for the same.

—
Vishwas R
Team CanvasJS
We just looked into your JSON API and its returning 0 every time. If you can make it return some data we would be able help you in updating the chart.
You cannot send function as part of JSON data directly. Though you can serialize function on the server before sending, this is generally not suggested. Instead we suggest adding these event handlers on the client side after receiving the json data.
Sorry, we don’t have event support for axis labels yet. But we consider it in future.