Basic Structure of highcharts

Source: Internet
Author: User

In a recent project, I used a lot of charts and found that the pure JS chart plug-in highcharts is very useful and powerful. Make a note.

 

The basic structure is shown in the following figure:

 

In, the following items are displayed:

 

Xaxis X coordinate
Yaxis Y coordinate
Credits Copyright information
Legend Legend
Exporting Export options
Title Title
Tooltip Tip prompt
Series One or more data series on the chart, which is a column or curve in the table.
   

 

Chart type
English name Chinese name
Line Line chart
Spline Graph
Area Area Chart
Areaspline Curve Area Chart
Arearange Area dimension chart
Areasplinerange Curve area dimension chart
Column Bar Chart
Columnrange Bar Chart
Bar Bar Chart
Pie Pie Chart
Scatter Scatter chart
Boxplot Boxplot
Bubble Bubble chart
Errorbar Error line chart
Funnel Funnel chart
Gauge Gauge chart
Waterfall Waterfall chart
Polar Radar chart
Pyramid Pyramid

Commonly used chart types include line, pie, bar, and column.

 

Basic configuration code:

VaR chart = new highcharts. Chart ({
Chart :{}, // global chart options

Title :{},

Subtitle :{},
Xaxis :{}, // X coordinate
Yaxis :{}, // y coordinate

Tooltip: {}, // tip prompt
Plotoptions: {}, // set the chart area
Legend: {}, // legend
Credits: {}, // copyrighted Trademark
Series: [{}] // chart data column

});

Basic Structure of highcharts

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.