Highchart several charts Makin summary

Source: Internet
Author: User

1) JS introduced in the wrong order, resulting in the Highchart chart does not come out.

Because of the Highchart plug-in used to jquery,jquery js to introduce Highchart before the introduction of JS, otherwise, when loaded into the 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

Previously encountered such a situation, the back of the background of the 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.

For example, the following code. If you write directly to Chart.series[0].setdata (response.data), the chart does 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 is within 1000, the chart is displayed normally. When the number of points exceeds 1000. The chart does not show up.

In fact, we haven't found aTurbothresholdthe property that it isThe turbo threshold, the default value of 1000, is the maximum number of limit values for the control points, assuming that the value can be set to 0.

Plotoptions: {            series: {                stickytracking:false            },            turbothreshold:0//Do not limit the number of data points},


..

copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Highchart Several charts makin summary

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.