1) JS introduction sequence is not correct, resulting in highchart chart out,
Because the Highchart plug-in used to jquery,jquery js to introduce Highchart before the introduction of JS, otherwise when the loading Highchart plug-in with the JS, can not find jquery js, The function that quoted a JS is illegal, theHigchart chart cannot be displayed.
2) The JSON format data in the background, need to be processed with the Eval function, otherwise the chart will not display properly
once encountered this situation, the back of the background JSON format data printed out, directly into the data, can be displayed normally, and directly to the back of the background variables assigned to data, the chart cannot be displayed. The following code, if written directly chart.series[0].setdata (response.data), the chart will not display properly.
function GetForm () { return $http. Get ("/billsdetail/chartdata"). Success (function (response) { //Set values for chart Chart.series[0].setdata (eval (response.data)); }). Error (function (response) { $log. Debug ("Request timed out or network failure!) failed to get list!") ;
3) when the number of series data points within 1000, the chart is displayed normally, when the number of positions more than 1000, the chart does not appear. In fact, we have not yet found aTurbothresholdthe property that it isTurbo threshold, the default value of 1000, is the maximum number of control point limit value, if you can set this value to 0.
Plotoptions: { series: { stickytracking:false }, turbothreshold:0//Do not limit the number of data points},
not to be continued ...
Highchart Chart does not come up with a summary of several situations