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 2021/10/26 03:07:42 UTC

[echarts-examples] branch gh-pages updated: tweak scatter-visualMap-categories doc example

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 f8c061f  tweak scatter-visualMap-categories doc example
f8c061f is described below

commit f8c061f905bed0414bec613668f8a70f4e2fe9ba
Author: Zhongxiang.Wang <yh...@all-my-life.cn>
AuthorDate: Tue Oct 26 11:07:37 2021 +0800

    tweak scatter-visualMap-categories doc example
---
 .../ts/doc-example/scatter-visualMap-categories.js         | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/public/examples/ts/doc-example/scatter-visualMap-categories.js b/public/examples/ts/doc-example/scatter-visualMap-categories.js
index a9740c5..7c47612 100644
--- a/public/examples/ts/doc-example/scatter-visualMap-categories.js
+++ b/public/examples/ts/doc-example/scatter-visualMap-categories.js
@@ -6,8 +6,8 @@ var schema = [
   { name: 'PM25', index: 2, text: 'PM2.5' },
   { name: 'PM10', index: 3, text: 'PM10' },
   { name: 'CO', index: 4, text: '一氧化碳(CO)' },
-  { name: 'NO2', index: 5, text: '二氧化氮(NO2)' },
-  { name: 'SO2', index: 6, text: '二氧化硫(SO2)' }
+  { name: 'NO2', index: 5, text: '二氧化氮(NO₂)' },
+  { name: 'SO2', index: 6, text: '二氧化硫(SO₂)' }
 ];
 
 var dataBJ = [
@@ -185,25 +185,25 @@ option = {
       right: 0,
       dimension: 7,
       selected: {
-        严重污染: false,
-        重度污染: false
+        '严重污染': false,
+        '重度污染': false
       },
       categories: ['严重污染', '重度污染', '中度污染', '轻度污染', '良', '优'],
       inRange: {
         symbolSize: 30,
         symbol: {
-          优: 'diamond',
+          '优': 'diamond',
           '': 'circle'
         }
       },
       outOfRange: {
         color: '#000',
         symbolSize: {
-          优: 50,
+          '优': 50,
           '': 30
         },
         symbol: {
-          优: 'diamond',
+          '优': 'diamond',
           '': 'circle'
         }
       }

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