提交 46ed0ff6 编写于 作者: K kener

堆叠tooltip自动翻转

上级 0a6b8ce5
...@@ -541,10 +541,17 @@ define(function (require) { ...@@ -541,10 +541,17 @@ define(function (require) {
|| position; || position;
specialCssText += this._style(this.query(series[i], 'tooltip')); specialCssText += this._style(this.query(series[i], 'tooltip'));
seriesArray.push(series[i]); if (series[i].stack != null) {
seriesIndex.push(i); seriesArray.unshift(series[i]);
seriesIndex.unshift(i);
}
else {
seriesArray.push(series[i]);
seriesIndex.push(i);
}
} }
} }
// 寻找高亮元素 // 寻找高亮元素
this.messageCenter.dispatch( this.messageCenter.dispatch(
ecConfig.EVENT.TOOLTIP_HOVER, ecConfig.EVENT.TOOLTIP_HOVER,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册