From 1412859930b7c8418f81a3db655b89c169cf1984 Mon Sep 17 00:00:00 2001 From: kener Date: Mon, 24 Feb 2014 23:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=A1=E5=BD=A2=E5=9B=BEmarkLine=20bug=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chart/bar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chart/bar.js b/src/chart/bar.js index 40d0ec2db..9a849dd09 100644 --- a/src/chart/bar.js +++ b/src/chart/bar.js @@ -762,10 +762,10 @@ define(function(require) { } else { // 纵向 - dataIndex = typeof mpData.xAxis == 'string' - && xAxis.getIndexByName - ? xAxis.getIndexByName(mpData.xAxis) - : (mpData.xAxis || 0); + dataIndex = typeof mpData.yAxis == 'string' + && yAxis.getIndexByName + ? yAxis.getIndexByName(mpData.yAxis) + : (mpData.yAxis || 0); pos = [ xAxis.getCoord(mpData.xAxis || 0), markCoordParams.xMarkMap[seriesIndex][dataIndex] -- GitLab