Highchart charts don't come up with a few summary of situations

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.