You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/11/16 08:45:24 UTC
[incubator-echarts-doc] branch master updated: Modify the wrong URL
of theme builder.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new a4a6e2b Modify the wrong URL of theme builder.
new 4773ba9 Merge pull request #138 from puxiao/hotfix
a4a6e2b is described below
commit a4a6e2b0d5f108000aab6452226d588679af87e7
Author: puxiao <ya...@gmail.com>
AuthorDate: Sat Nov 14 12:35:37 2020 +0800
Modify the wrong URL of theme builder.
---
en/tutorial/style-overview.md | 2 +-
zh/tutorial/style-overview.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/en/tutorial/style-overview.md b/en/tutorial/style-overview.md
index 7d3ba8e..7b23002 100644
--- a/en/tutorial/style-overview.md
+++ b/en/tutorial/style-overview.md
@@ -38,7 +38,7 @@ or
var chart = echarts.init(dom, 'dark');
```
-Other themes are not included in ECharts package by default, and need to load them ourselves if we want to use them. Themes can be visited and downloaded in [Theme Builder](https://www.echartsjs.com/theme-builder/). Theme can also be created or edited in it. The downloaded theme can be used as follows:
+Other themes are not included in ECharts package by default, and need to load them ourselves if we want to use them. Themes can be visited and downloaded in [Theme Builder](https://echarts.apache.org/en/theme-builder.html). Theme can also be created or edited in it. The downloaded theme can be used as follows:
If a theme is downloaded as a JSON file, we should register it by ourselves, for example:
```js
diff --git a/zh/tutorial/style-overview.md b/zh/tutorial/style-overview.md
index 3f37d07..3ff8805 100644
--- a/zh/tutorial/style-overview.md
+++ b/zh/tutorial/style-overview.md
@@ -33,7 +33,7 @@ var chart = echarts.init(dom, 'light');
var chart = echarts.init(dom, 'dark');
```
-其他的主题,没有内置在 ECharts 中,需要自己加载。这些主题可以在 [主题编辑器](https://www.echartsjs.com/theme-builder/) 里访问到。也可以使用这个主题编辑器,自己编辑主题。下载下来的主题可以这样使用:
+其他的主题,没有内置在 ECharts 中,需要自己加载。这些主题可以在 [主题编辑器](https://echarts.apache.org/zh/theme-builder.html) 里访问到。也可以使用这个主题编辑器,自己编辑主题。下载下来的主题可以这样使用:
如果主题保存为 JSON 文件,那么可以自行加载和注册,例如:
```js
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org