You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/12/27 22:31:05 UTC

[GitHub] [echarts] helgasoft commented on issue #18086: [Bug] Piecewise visualMap pieces are reset when setOption()

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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org