| commit | 62c3256e4bad82abdc2cbf09a23e9d9e08a0ec95 | [log] [tgz] |
|---|---|---|
| author | Wenli Zhang <zwl.sjtu@gmail.com> | Mon Dec 22 10:20:06 2025 +0800 |
| committer | GitHub <noreply@github.com> | Mon Dec 22 10:20:06 2025 +0800 |
| tree | 23be89ec44371cb3c527e1914609ee51d9082474 | |
| parent | 42ec5aaa7d30ef0b43cbda5b1e7989af58f91dac [diff] | |
| parent | e51f2440b4ca1a00adaca56316237d8cd5412201 [diff] |
Merge pull request #15 from apache/dev chore: rename files in dist from index.js #10
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