This is an automated email from the ASF dual-hosted git repository.
shenyi 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 88a22eb Fix lint
new 7d9e04b Merge pull request #12134 from susiwen8/lint
88a22eb is described below
commit 88a22eb340228b0a77ed71178ab7702899d18123
Author: susiwen8 <[email protected]>
AuthorDate: Thu Feb 6 21:51:34 2020 +0800
Fix lint
---
src/layout/barGrid.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/layout/barGrid.js b/src/layout/barGrid.js
index e7947eb..e44b1f8 100644
--- a/src/layout/barGrid.js
+++ b/src/layout/barGrid.js
@@ -527,9 +527,11 @@ export var largeLayout = {
coord = cartesian.dataToPoint(valuePair, null, coord);
// Data index might not be in order, depends on
`progressiveChunkMode`.
- largeBackgroundPoints[pointsOffset] = valueAxisHorizontal ?
coordLayout.x + coordLayout.width : coord[0];
+ largeBackgroundPoints[pointsOffset] = valueAxisHorizontal
+ ? coordLayout.x + coordLayout.width : coord[0];
largePoints[pointsOffset++] = coord[0];
- largeBackgroundPoints[pointsOffset] = valueAxisHorizontal ?
coord[1] : coordLayout.y + coordLayout.height;
+ largeBackgroundPoints[pointsOffset] = valueAxisHorizontal
+ ? coord[1] : coordLayout.y + coordLayout.height;
largePoints[pointsOffset++] = coord[1];
largeDataIndices[idxOffset++] = dataIndex;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]