From 5f931ceeace9d24ae39e55b2fc76a53bd09c27b5 Mon Sep 17 00:00:00 2001 From: pissang Date: Fri, 3 Jan 2020 12:25:58 +0800 Subject: [PATCH] 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 01f67edcf..c571b8535 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 { -- GitLab