The focus of Echarts

Source: Internet
Author: User

In the official website, mainly look at the document "tutorial" and "Configuration item manual" two parts

1 Downloads

Introducing JS

Put a container on the page, be sure to set the width high

Create object: var mychart = Echarts.init (document.getElementById (' main '));

Configuration: var option = {};

Load: mychart.setoption (option);

2

Modify option: Find in the configuration entry manual

Commonly used charts are: bars, pie charts, maps

3 The chart is divided into several parts:

Caption: Title

Chart: X-axis, y-axis

Legend: Legend

4 Common Configuration items:

Grid: Drawing grid in Cartesian coordinate system

Xaxis: X-axis in a Cartesian coordinate system grid

YAxis: Y-axis in a Cartesian coordinate system grid

ToolTip: Cue Box component

Series: List of families

...

The focus of Echarts

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.