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 2019/11/27 03:22:35 UTC

[GitHub] [incubator-echarts] pissang commented on issue #11714: SaveAsImage Function cannot save image with full legend when legend has several pages

pissang commented on issue #11714: SaveAsImage Function cannot save image with full legend when legend has several pages
URL: https://github.com/apache/incubator-echarts/issues/11714#issuecomment-558911066
 
 
   Basically the function save image will keep all the current states. If you want to display all legend when doing snapshoting. You can add a custom icon which do following steps.
   
   1. Switch the `legend` type to `plain`
   2. Download the image as what https://github.com/apache/incubator-echarts/blob/master/src/component/toolbox/feature/SaveAsImage.js#L54 did.
   3. Switch the `legend` type back to `scroll`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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