@xdatav/echarts
v5.4.3-ffa.1
Published
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Downloads
7
Maintainers
Readme
Apache ECharts
Apache ECharts is a free, powerful charting and visualization library offering easy ways to add intuitive, interactive, and highly customizable charts to your commercial products. It is written in pure JavaScript and based on zrender, which is a whole new lightweight canvas library.
Get Apache ECharts
You may choose one of the following methods:
- Download from the official website
npm install @xdatav/echarts --save
- CDN: jsDelivr CDN
Extra Features
1. Minimize echarts size
By ignoring *.map
files in .npmignore
, the size of echarts is reduced from the official 41.7M
to 19M
(Unpack Size).
1. Enable brush back for data zoom back
Just set enableBrushBack
to true
in dataZoom
toolbox.
// ...
toolbox: {
feature: {
dataZoom: {
enableBrushBack: true,
}
}
}
// ...
Docs
Get Help
- GitHub Issues for bug report and feature requests
- Email [email protected] for general questions
- Subscribe to the mailing list to get updated with the project
Build
Build echarts source code:
Execute the instructions in the root directory of the echarts: (Node.js is required)
# Install the dependencies from NPM:
npm install
# Rebuild source code immediately in watch mode when changing the source code.
# It opens the `./test` directory, and you may open `-cases.html` to get the list
# of all test cases.
# If you wish to create a test case, run `npm run mktest:help` to learn more.
npm run dev
# Check the correctness of TypeScript code.
npm run checktype
# If intending to build and get all types of the "production" files:
npm run release
Then the "production" files are generated in the dist
directory.
Contribution
Please refer to the contributing document if you wish to debug locally or make pull requests.
Resources
Awesome ECharts
https://github.com/ecomfe/awesome-echarts
Extensions
ECharts GL An extension pack of ECharts, which provides 3D plots, globe visualization, and WebGL acceleration.
Extension for Baidu Map 百度地图扩展 An extension provides a wrapper of Baidu Map Service SDK.
vue-echarts ECharts component for Vue.js
echarts-stat Statistics tool for ECharts
License
ECharts is available under the Apache License V2.
Code of Conduct
Please refer to Apache Code of Conduct.
Paper
Deqing Li, Honghui Mei, Yi Shen, Shuang Su, Wenli Zhang, Junting Wang, Ming Zu, Wei Chen. ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization. Visual Informatics, 2018.