You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2023/08/28 07:15:15 UTC

[echarts-examples] 01/01: generate thumbnails & update chart list for #79

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

wangzx pushed a commit to branch feature/bump-chart
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 7d7d0667ed62ff1bce94a9ca73bca5a6db6fe266
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Aug 28 15:13:03 2023 +0800

    generate thumbnails & update chart list for #79
---
 public/data/thumb-dark/bump-chart.png  | Bin 0 -> 205223 bytes
 public/data/thumb-dark/bump-chart.webp | Bin 0 -> 34074 bytes
 public/data/thumb/bump-chart.png       | Bin 0 -> 175495 bytes
 public/data/thumb/bump-chart.webp      | Bin 0 -> 29680 bytes
 public/examples/ts/bump-chart.ts       |   5 ++++-
 src/data/chart-list-data.js            |  11 +++++++++++
 6 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/public/data/thumb-dark/bump-chart.png b/public/data/thumb-dark/bump-chart.png
new file mode 100644
index 00000000..6b024049
Binary files /dev/null and b/public/data/thumb-dark/bump-chart.png differ
diff --git a/public/data/thumb-dark/bump-chart.webp b/public/data/thumb-dark/bump-chart.webp
new file mode 100644
index 00000000..70559cfd
Binary files /dev/null and b/public/data/thumb-dark/bump-chart.webp differ
diff --git a/public/data/thumb/bump-chart.png b/public/data/thumb/bump-chart.png
new file mode 100644
index 00000000..872d0307
Binary files /dev/null and b/public/data/thumb/bump-chart.png differ
diff --git a/public/data/thumb/bump-chart.webp b/public/data/thumb/bump-chart.webp
new file mode 100644
index 00000000..6240af4f
Binary files /dev/null and b/public/data/thumb/bump-chart.webp differ
diff --git a/public/examples/ts/bump-chart.ts b/public/examples/ts/bump-chart.ts
index 02cc793a..761911f9 100644
--- a/public/examples/ts/bump-chart.ts
+++ b/public/examples/ts/bump-chart.ts
@@ -2,7 +2,7 @@
 title: Bump Chart (Ranking)
 category: line
 titleCN: 凹凸图
-difficulty: 1
+difficulty: 2
 */
 
 import { SeriesOption } from 'echarts';
@@ -87,6 +87,9 @@ option = {
     trigger: 'item'
   },
   grid: {
+    left: 30,
+    right: 110,
+    bottom: 30,
     containLabel: true
   },
   toolbox: {
diff --git a/src/data/chart-list-data.js b/src/data/chart-list-data.js
index 62964b4d..60090d65 100644
--- a/src/data/chart-list-data.js
+++ b/src/data/chart-list-data.js
@@ -480,6 +480,17 @@ export default [
     "titleCN": "世界人口总量 - 条形图",
     "difficulty": 2
   },
+  {
+    "category": [
+      "line"
+    ],
+    "id": "bump-chart",
+    "ts": true,
+    "tags": [],
+    "title": "Bump Chart (Ranking)",
+    "titleCN": "凹凸图",
+    "difficulty": 2
+  },
   {
     "category": [
       "calendar"


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