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 2024/05/20 05:32:52 UTC

(echarts-examples) branch gh-pages updated: set `backgroundColor` to `'transparent'` for the examples related to BMap (apache/echarts#19949)

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

wangzx 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 8901c453 set `backgroundColor` to `'transparent'` for the examples related to BMap (apache/echarts#19949)
8901c453 is described below

commit 8901c4530eba638f656ab6dc531b437153b6b92b
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon May 20 13:30:59 2024 +0800

    set `backgroundColor` to `'transparent'` for the examples related to BMap (apache/echarts#19949)
---
 public/examples/ts/effectScatter-bmap.ts | 1 +
 public/examples/ts/lines-bmap-bus.ts     | 1 +
 public/examples/ts/lines-bmap-effect.ts  | 1 +
 public/examples/ts/lines-bmap.ts         | 1 +
 public/examples/ts/map-bin.js            | 1 +
 5 files changed, 5 insertions(+)

diff --git a/public/examples/ts/effectScatter-bmap.ts b/public/examples/ts/effectScatter-bmap.ts
index a0a6b390..160701e7 100644
--- a/public/examples/ts/effectScatter-bmap.ts
+++ b/public/examples/ts/effectScatter-bmap.ts
@@ -411,6 +411,7 @@ const convertData = function (data: DataItem[]) {
 };
 
 option = {
+  backgroundColor: 'transparent',
   title: {
     text: '全国主要城市空气质量 - 百度地图',
     subtext: 'data from PM25.in',
diff --git a/public/examples/ts/lines-bmap-bus.ts b/public/examples/ts/lines-bmap-bus.ts
index 341aa635..06191806 100644
--- a/public/examples/ts/lines-bmap-bus.ts
+++ b/public/examples/ts/lines-bmap-bus.ts
@@ -27,6 +27,7 @@ $.get(ROOT_PATH + '/data/asset/data/lines-bus.json', function (data) {
   );
   myChart.setOption(
     (option = {
+      backgroundColor: 'transparent',
       bmap: {
         center: [116.46, 39.92],
         zoom: 10,
diff --git a/public/examples/ts/lines-bmap-effect.ts b/public/examples/ts/lines-bmap-effect.ts
index 49b6322b..dab4fe99 100644
--- a/public/examples/ts/lines-bmap-effect.ts
+++ b/public/examples/ts/lines-bmap-effect.ts
@@ -34,6 +34,7 @@ $.get(ROOT_PATH + '/data/asset/data/lines-bus.json', function (data) {
   );
   myChart.setOption(
     (option = {
+      backgroundColor: 'transparent',
       bmap: {
         center: [116.46, 39.92],
         zoom: 10,
diff --git a/public/examples/ts/lines-bmap.ts b/public/examples/ts/lines-bmap.ts
index f2e50dd3..9443311a 100644
--- a/public/examples/ts/lines-bmap.ts
+++ b/public/examples/ts/lines-bmap.ts
@@ -21,6 +21,7 @@ $.get(
     });
     myChart.setOption(
       (option = {
+        backgroundColor: 'transparent',
         bmap: {
           center: [120.13066322374, 30.240018034923],
           zoom: 14,
diff --git a/public/examples/ts/map-bin.js b/public/examples/ts/map-bin.js
index e764df19..ff3dbd00 100644
--- a/public/examples/ts/map-bin.js
+++ b/public/examples/ts/map-bin.js
@@ -60,6 +60,7 @@ function getCoord(params, api, lngIndex, latIndex) {
 }
 
 option = {
+  backgroundColor: 'transparent',
   tooltip: {},
   visualMap: {
     type: 'piecewise',


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