helgasoft commented on issue #18086: URL: https://github.com/apache/echarts/issues/18086#issuecomment-1366222068
Yes, _visualMap_ is reset. But there is a workaround: If you want to keep the _visualMap_ selection on _setOption_, you could keep track of it and dispatch it back after _setOption_. [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWAPAgliAzgFzLqaYAmAhmFSQNoDkOjANLIwEJscDCjAXTKwAvq2EBPPIRJIxwggFMAThEXFY9VBnJgJIRSUYAjKsrbDKNOpoCMAJgAM7J89i2ArI6E6RA8ToAboQArlQANgCyVCCylrAAthDQJLaOzvEJVFgkAMzpAeSwegZGIGoAxooA7oSKFjqUEAmK0ARQKe6F5MCqrWBGgSqQFRENRaoA5gAWA-4ZjcWgRlXQYCrj5MkASlTQk4aki5gVwOG9DIwAxABm9hW5tlQ81_YALMYA7HeC8SLC8jQIgA3OhAmZYIEEkpwuwKmt4I5QWgEhJeNMzGAAHQwAAUjGotGUewOMMUFXWFB4NxC0ApHVxIDMVGhAEojpgoTCELAmcToViyRTFBRkScYAQzoosedJriuYpwqzkSJlehUejMTjoPiKMZwhVwhAKgBram0-l4vksgjs7SYDUY5TYpRgADy4AZSGKEDA4UOSHWWDmjFdHsgMA4AGp4WAo1GRKqxYk0U7sRRCEywBVpjhLTr7bp9IdQ4ryWAACLWXb7erdTBCykkBWwgFqoGsoA) - double-click on bars to do _setOption_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
