| commit | 26dee60bfef04a6b1f74e5182c577e54437245b7 | [log] [tgz] |
|---|---|---|
| author | Ovilia <zwl.sjtu@gmail.com> | Thu Sep 12 15:20:59 2024 +0800 |
| committer | Ovilia <zwl.sjtu@gmail.com> | Thu Sep 12 15:20:59 2024 +0800 |
| tree | cd681b72b148da763acd80e6b836d3ba255f5809 | |
| parent | d17e4447404ac9826bdfd80900a4a5b2d72caebb [diff] |
chore: update npm package name
This repo provides some custom series for Apache ECharts. The minial supported version is Apache ECharts v6, which is not released yet.
TODO
npm install
Note: Building requires the lib files of ECharts v6. So before ECharts v6 is released, you need to clone apache/echarts locally and use npm link to link it.
# Under the directory of echarts npm link # Under the directory of echarts-custom-series/custom-series/<series-name> npm link echarts
npm run create <series-name>
The generated files are in custom-series/<series-name>. Note that if there are multiple words in the series name, they should be in camel case like npm run create barRange.
Each of the directories in custom-series/ is a custom series.
npm run build
npm run build <series-name>
For example, to build custom-series/violin, run:
npm run build violin