提交 1ab1a1d6 编写于 作者: K kener

tooltip bug fixed(图例状态同步)

上级 6054e054
......@@ -1300,8 +1300,8 @@ define(function (require) {
},
_setSelectedMap : function () {
if (this.option.legend && this.option.legend.selected) {
this._selectedMap = this.option.legend.selected;
if (this.component.legend) {
this._selectedMap = zrUtil.clone(this.component.legend.getSelectedMap());
}
else {
this._selectedMap = {};
......
......@@ -603,7 +603,7 @@ define(function (require) {
}
var componentList = [
'title', 'tooltip', 'legend', 'dataRange',
'title', 'legend', 'tooltip', 'dataRange',
'grid', 'dataZoom', 'xAxis', 'yAxis', 'polar'
];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册