From 37a95e47957c6019b780829a038eec23c853080a Mon Sep 17 00:00:00 2001 From: lang Date: Wed, 18 Nov 2015 17:20:54 +0800 Subject: [PATCH] tweak --- src/chart/helper/SymbolDraw.js | 4 +++- src/coord/axisDefault.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/chart/helper/SymbolDraw.js b/src/chart/helper/SymbolDraw.js index db6decf6e..b7c5e126c 100644 --- a/src/chart/helper/SymbolDraw.js +++ b/src/chart/helper/SymbolDraw.js @@ -39,7 +39,9 @@ define(function (require) { .update(function (newIdx, oldIdx) { var symbolEl = oldData.getItemGraphicEl(oldIdx); // Empty data - if (!data.hasValue(newIdx) || (isIgnore && isIgnore(newIdx))) { + if (!data.hasValue(newIdx) || (isIgnore && isIgnore(newIdx)) + || data.getItemVisual(newIdx, 'symbol') === 'none' + ) { group.remove(symbolEl); return; } diff --git a/src/coord/axisDefault.js b/src/coord/axisDefault.js index 7a5b2a7fc..166a9ab65 100644 --- a/src/coord/axisDefault.js +++ b/src/coord/axisDefault.js @@ -23,8 +23,8 @@ define(function (require) { onZero: true, // 属性lineStyle控制线条样式 lineStyle: { - color: '#48b', - width: 2, + color: '#000', + width: 1, type: 'solid' } }, -- GitLab