You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2018/10/15 02:29:34 UTC

[incubator-echarts] 01/02: fix: remove splitLine at axis position, fix #8843

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

commit f981c97758e14fa03c7dc0990e3527f762183a07
Author: Ovilia <zw...@gmail.com>
AuthorDate: Mon Oct 15 10:28:24 2018 +0800

    fix: remove splitLine at axis position, fix #8843
---
 src/component/axis/CartesianAxisView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/component/axis/CartesianAxisView.js b/src/component/axis/CartesianAxisView.js
index 542b7f3..1543fdb 100644
--- a/src/component/axis/CartesianAxisView.js
+++ b/src/component/axis/CartesianAxisView.js
@@ -118,7 +118,7 @@ var CartesianAxisView = AxisView.extend({
         // Simple optimization
         // Batching the lines if color are the same
         var lineStyle = lineStyleModel.getLineStyle();
-        for (var i = 0; i < ticksCoords.length; i++) {
+        for (var i = 1; i < ticksCoords.length; i++) {
             var tickCoord = axis.toGlobalCoord(ticksCoords[i].coord);
 
             if (isHorizontal) {


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