You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/01/03 04:26:13 UTC

[incubator-echarts] 01/01: fix code style

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

shenyi pushed a commit to branch fix-code-style-11965
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 5f931ceeace9d24ae39e55b2fc76a53bd09c27b5
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Jan 3 12:25:58 2020 +0800

    fix code style
---
 src/component/marker/markerHelper.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/component/marker/markerHelper.js b/src/component/marker/markerHelper.js
index 01f67ed..c571b85 100644
--- a/src/component/marker/markerHelper.js
+++ b/src/component/marker/markerHelper.js
@@ -78,7 +78,7 @@ function markerTypeCalculatorWithExtent(
         coordArr[targetCoordIndex] = +coordArr[targetCoordIndex].toFixed(precision);
     }
 
-    return [coordArr,coordArrValue];
+    return [coordArr, coordArrValue];
 }
 
 var curry = zrUtil.curry;
@@ -145,10 +145,10 @@ export function dataTransform(seriesModel, item) {
                 data, axisInfo.baseDataDim, axisInfo.valueDataDim,
                 otherCoordIndex, targetCoordIndex
             );
-            item.coord = coordInfo[0]
-            // Force to use the value of calculated value. 
-            // let item use the value without stack. 
-            item.value = coordInfo[1]
+            item.coord = coordInfo[0];
+            // Force to use the value of calculated value.
+            // let item use the value without stack.
+            item.value = coordInfo[1];
 
         }
         else {


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