未验证 提交 af73cd67 编写于 作者: D Deqing Li 提交者: GitHub

Merge pull request #11111 from deqingli/master

Update legend selector default option
......@@ -27,7 +27,7 @@ import '../helper/focusNodeAdjacencyAction';
echarts.registerAction({
type: 'dragNode',
event: 'dragNode',
event: 'dragnode',
// here can only use 'update' now, other value is not support in echarts.
update: 'update'
}, function (payload, ecModel) {
......
......@@ -35,7 +35,6 @@ echarts.registerAction({
var tree = seriesModel.getData().tree;
var node = tree.getNodeByDataIndex(dataIndex);
node.isExpand = !node.isExpand;
});
});
......
......@@ -296,15 +296,13 @@ var LegendModel = echarts.extendComponentModel({
// data: [],
// Usage:
// selector: [{type: 'all or inverse', icon: 'xxx', title: xxx}]
// selector: [{type: 'all or inverse', title: xxx}]
// or
// selector: true
// or
// selector: ['all', 'inverse']
selector: false,
selectorIconSize: 14,
selectorLabel: {
show: true,
borderRadius: 10,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册