add decal configuration in preview
6 files changed
tree: f7cf941a0f7106ad14cf49f41316fde170c92f3f
  1. build/
  2. config/
  3. public/
  4. src/
  5. tool/
  6. .babelrc
  7. .gitignore
  8. _config.yml
  9. package-lock.json
  10. package.json
  11. README.md
README.md

Examples of ECharts

Install

npm install

Dev

npm run dev

Release

npm run release

It will copy all the build resources to incubator-echarts-website/next/examples

Use local echarts build

  1. Update the URL of localEChartsMinJS in common/config.js
  2. Add local=1 in URL. For example: editor.html?c=area-basic&local=1

Update example snapshots

node tool/build-example.js

Only for default theme

node tool/build-example.js -t default

Edit example

All test cases are in the public/data folder. The comment in the header

/*
title: Area Pieces
titleCN: 折线图区域高亮
category: 'line, visualMap'
*/

describes the meta info of this example.