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 535f2c0  fix(example): tweak irregular usage in area-stack-gradient 
example, change `rgba` to `rgb`.
535f2c0 is described below

commit 535f2c03a93a2b8f5e3d30e95b1bf361433bb56e
Author: plainheart <[email protected]>
AuthorDate: Thu Dec 2 14:33:56 2021 +0800

    fix(example): tweak irregular usage in area-stack-gradient example, change 
`rgba` to `rgb`.
---
 public/examples/ts/area-stack-gradient.ts | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/public/examples/ts/area-stack-gradient.ts 
b/public/examples/ts/area-stack-gradient.ts
index 16ac77a..33ced44 100644
--- a/public/examples/ts/area-stack-gradient.ts
+++ b/public/examples/ts/area-stack-gradient.ts
@@ -60,11 +60,11 @@ option = {
         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
           {
             offset: 0,
-            color: 'rgba(128, 255, 165)'
+            color: 'rgb(128, 255, 165)'
           },
           {
             offset: 1,
-            color: 'rgba(1, 191, 236)'
+            color: 'rgb(1, 191, 236)'
           }
         ])
       },
@@ -87,11 +87,11 @@ option = {
         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
           {
             offset: 0,
-            color: 'rgba(0, 221, 255)'
+            color: 'rgb(0, 221, 255)'
           },
           {
             offset: 1,
-            color: 'rgba(77, 119, 255)'
+            color: 'rgb(77, 119, 255)'
           }
         ])
       },
@@ -114,11 +114,11 @@ option = {
         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
           {
             offset: 0,
-            color: 'rgba(55, 162, 255)'
+            color: 'rgb(55, 162, 255)'
           },
           {
             offset: 1,
-            color: 'rgba(116, 21, 219)'
+            color: 'rgb(116, 21, 219)'
           }
         ])
       },
@@ -141,11 +141,11 @@ option = {
         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
           {
             offset: 0,
-            color: 'rgba(255, 0, 135)'
+            color: 'rgb(255, 0, 135)'
           },
           {
             offset: 1,
-            color: 'rgba(135, 0, 157)'
+            color: 'rgb(135, 0, 157)'
           }
         ])
       },
@@ -172,11 +172,11 @@ option = {
         color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
           {
             offset: 0,
-            color: 'rgba(255, 191, 0)'
+            color: 'rgb(255, 191, 0)'
           },
           {
             offset: 1,
-            color: 'rgba(224, 62, 76)'
+            color: 'rgb(224, 62, 76)'
           }
         ])
       },

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to