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 2021/09/23 05:24:04 UTC

[echarts-examples] branch gh-pages updated: change get started example to en

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new de3e8ff  change get started example to en
de3e8ff is described below

commit de3e8ff5dc1c637df0cfe1ad86e206594da82cbb
Author: pissang <bm...@gmail.com>
AuthorDate: Thu Sep 23 13:23:20 2021 +0800

    change get started example to en
---
 .../examples/ts/doc-example/geo-svg-named-basic.js |  6 ++--
 public/examples/ts/doc-example/getting-started.js  | 36 ++++++++++++----------
 2 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/public/examples/ts/doc-example/geo-svg-named-basic.js b/public/examples/ts/doc-example/geo-svg-named-basic.js
index 1dca60a..411e60b 100644
--- a/public/examples/ts/doc-example/geo-svg-named-basic.js
+++ b/public/examples/ts/doc-example/geo-svg-named-basic.js
@@ -8,7 +8,7 @@ var svg = `<?xml version="1.0" encoding="utf-8"?>
 echarts.registerMap('simple_svg', { svg: svg });
 
 option = {
-    geo: {
-        map: 'simple_svg'
-    }
+  geo: {
+    map: 'simple_svg'
+  }
 };
diff --git a/public/examples/ts/doc-example/getting-started.js b/public/examples/ts/doc-example/getting-started.js
index 1a84ac7..9172e4c 100644
--- a/public/examples/ts/doc-example/getting-started.js
+++ b/public/examples/ts/doc-example/getting-started.js
@@ -1,18 +1,20 @@
 option = {
-    title: {
-        text: 'ECharts 入门示例'
-    },
-    tooltip: {},
-    legend: {
-        data:['销量']
-    },
-    xAxis: {
-        data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
-    },
-    yAxis: {},
-    series: [{
-        name: '销量',
-        type: 'bar',
-        data: [5, 20, 36, 10, 10, 20]
-    }]
-};
\ No newline at end of file
+  title: {
+    text: 'ECharts Getting Started Example'
+  },
+  tooltip: {},
+  legend: {
+    data: ['sales']
+  },
+  xAxis: {
+    data: ['Shirts', 'Cardigans', 'Chiffons', 'Pants', 'Heels', 'Socks']
+  },
+  yAxis: {},
+  series: [
+    {
+      name: 'sales',
+      type: 'bar',
+      data: [5, 20, 36, 10, 10, 20]
+    }
+  ]
+};

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org