You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/07/02 14:04:05 UTC
[GitHub] Zacknero commented on issue #8602: No hide lines when click the
label
Zacknero commented on issue #8602: No hide lines when click the label
URL: https://github.com/apache/incubator-echarts/issues/8602#issuecomment-401815832
This is my solutions:
`myChart.on('legendselectchanged', function(obj) {
var name = obj.name;
var slectedObject = {[name]:true};
let option = {
legend: {
selected : slectedObject
}
}
myChart.setOption(option);
})`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org