提交 5938dc65 编写于 作者: S sushuang 提交者: Ovilia

Tweak the last commit

Tweak the last commit
上级 ac7a3844
...@@ -41,7 +41,6 @@ var markLineTransform = function (seriesModel, coordSys, mlModel, item) { ...@@ -41,7 +41,6 @@ var markLineTransform = function (seriesModel, coordSys, mlModel, item) {
) )
) { ) {
var valueAxis; var valueAxis;
var valueDataDim;
var value; var value;
if (item.yAxis != null || item.xAxis != null) { if (item.yAxis != null || item.xAxis != null) {
...@@ -50,8 +49,8 @@ var markLineTransform = function (seriesModel, coordSys, mlModel, item) { ...@@ -50,8 +49,8 @@ var markLineTransform = function (seriesModel, coordSys, mlModel, item) {
} }
else { else {
var axisInfo = markerHelper.getAxisInfo(item, data, coordSys, seriesModel); var axisInfo = markerHelper.getAxisInfo(item, data, coordSys, seriesModel);
valueDataDim = getStackedDimension(data, axisInfo.valueDataDim);
valueAxis = axisInfo.valueAxis; valueAxis = axisInfo.valueAxis;
var valueDataDim = getStackedDimension(data, axisInfo.valueDataDim);
value = markerHelper.numCalculate(data, valueDataDim, mlType); value = markerHelper.numCalculate(data, valueDataDim, mlType);
} }
var valueIndex = valueAxis.dim === 'x' ? 0 : 1; var valueIndex = valueAxis.dim === 'x' ? 0 : 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册