Apache ECharts Custom Series

Clone this repo:
  1. 7aeba73 Merge pull request #25 from apache/dependabot/npm_and_yarn/lodash-4.18.1 by Zhongxiang Wang · 2 weeks ago main
  2. 3338ec6 chore(deps-dev): bump lodash from 4.17.23 to 4.18.1 by dependabot[bot] · 2 weeks ago
  3. 2d97183 Merge pull request #24 from apache/dependabot/npm_and_yarn/picomatch-2.3.2 by Zhongxiang Wang · 2 weeks ago
  4. 7f80b7d chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2 by dependabot[bot] · 3 weeks ago
  5. d6428ec Merge pull request #22 from apache/dependabot/npm_and_yarn/rollup-4.59.0 by Zhongxiang Wang · 8 weeks ago

echarts-custom-series

This repo provides some custom series for Apache ECharts. The minial supported version is Apache ECharts v6, which is not released yet.

List of Custom Series

@echarts-x/custom-liquid-fill
doc npm
liquidFill
@echarts-x/custom-word-cloud
doc npm
wordCloud
@echarts-x/custom-violin
doc npm
violin
@echarts-x/custom-contour
doc npm
contour
@echarts-x/custom-stage
doc npm
stage
@echarts-x/custom-segmented-doughnut
doc npm
segmentedDoughnut
@echarts-x/custom-bar-range
doc npm
barRange
@echarts-x/custom-line-range
doc npm
lineRange

See the README in the above links about how to install and use.

Develop

npm install

Create A New Custom Series

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.

Build

Each of the directories in custom-series/ is a custom series.

Build All

npm run build

Build One

npm run build <series-name>

For example, to build custom-series/violin, run:

npm run build violin

Generate Thumbnails

npm run thumbnail
# or
npm run thumbnail <series-name>

Publish on npm

Beta Release

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

Latest Release

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