This repo provides some custom series for Apache ECharts. The minial supported version is Apache ECharts v6, which is not released yet.
@echarts-x/custom-violindoc npm | @echarts-x/custom-contourdoc npm |
@echarts-x/custom-stagedoc npm | @echarts-x/custom-segmented-doughnutdoc npm |
@echarts-x/custom-bar-rangedoc npm | @echarts-x/custom-line-rangedoc npm |
@echarts-x/custom-liquid-filldoc npm |
See the README in the above links about how to install and use.
npm install
npm run generate <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 generate 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
npm run thumbnail # or npm run thumbnail <series-name>
npm run build [customSeriesName] # cd to the directory of a custom series npm version prerelease --preid=beta npm login npm publish --tag beta --dry-run # if the output is ok npm publish --tag beta
npm run build [customSeriesName] # cd to the directory of a custom series npm version patch # or minor/major npm login npm publish --dry-run # if the outpuf is ok npm publish