commit | 0313f3cec251c99cabb87249461341666cc1e3a4 | [log] [tgz] |
---|---|---|
author | 100pah <sushuang0322@gmail.com> | Sat Nov 21 15:23:42 2020 +0800 |
committer | 100pah <sushuang0322@gmail.com> | Sat Nov 21 15:23:42 2020 +0800 |
tree | 9aae8da86bc811e29e628e090f6e5b648a366f80 | |
parent | 8530c235941e9fa7ba2948c3438ccf6420383d69 [diff] |
tweak doc of data-transform.
This project is part of the source of The Apache ECharts (incubating) Official Website. See incubator-echarts-website for more details of the building process.
npm install
npm run dev
Open in browser: http://localhost:3000/echarts-handbook/dist/
# Update contributors npm run prepare # Generate to `dist` npm run generate
Add .md
files under contents/zh/
or contents/en/
, and fill in the info in contents/zh/posts.js
and contents/en/posts.js
.
Do it like this:
xxxx [series.encode](${optionPath}#series.encode) xxxx
Note: if you want it to work in development environment, you may need to edit the config file configs/config.dev.js
: make the value of optionPath
point to a running environment of incubator-echarts-doc
.
Suppose area-basic
is one of the example names in incubator-echarts-examples
.
Just add a link of the example:
[this case](${exampleEditorPath}area-basic&edit=1&reset=1)
Embed the live example into the page:
<iframe width="600" height="300" src="${exampleViewPath}area-basic&edit=1&reset=1"></iframe>
Note: if you want it to work in development environment, you may need to edit the config file configs/config.dev.js
: make the value of exampleViewPath
and exampleEditorPath
point to a running environment of incubator-echarts-examples
.