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

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new e43f1be  test(svg): add test for #11036
e43f1be is described below

commit e43f1be4ce9a5b43aa26a2733e6fd8e0b7327d21
Author: Ovilia <[email protected]>
AuthorDate: Fri Sep 27 16:47:03 2019 +0800

    test(svg): add test for #11036
---
 test/bar2.html | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/test/bar2.html b/test/bar2.html
index 74a64d1..9b7b2da 100644
--- a/test/bar2.html
+++ b/test/bar2.html
@@ -208,6 +208,20 @@ under the License.
                 echarts = ec;
 
                 option = {
+                    color: [{
+                        type: 'linear',
+                        colorStops: [{
+                            offset: 0,
+                            color: 'rgba(42, 20, 20, 0.8)'
+                        }, {
+                            offset: 1,
+                            color: 'rgba(42, 20, 20, 0)'
+                        }],
+                        x: 0.5,
+                        y: 0,
+                        x2: 0.49999999999999994,
+                        y2: 1
+                    }],
                     xAxis: {
                         // data: ['a', 'b', 'c', 'd'],
                         data: ['a', 'b'],
@@ -234,7 +248,12 @@ under the License.
                         silent: true,
                         barWidth: 40,
                         barGap: '-100%', // Make series be overlap
-                        data: [60, 60]
+                        data: [60, 60],
+                        label: {
+                            show: true,
+                            color: 'blue',
+                            position: 'top'
+                        }
                     }, {
                         type: 'bar',
                         barWidth: 40,


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

Reply via email to