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/09/21 07:54:35 UTC

[GitHub] [echarts] dileepyelleti opened a new issue, #17678: [Feature] Legend selectedMode to keep at least one active

dileepyelleti opened a new issue, #17678:
URL: https://github.com/apache/echarts/issues/17678

   ### What problem does this feature solve?
   
   When all series are disabled from legend chart looks empty and even y-axis disappears.
   https://echarts.apache.org/examples/en/editor.html?c=line-stack - disable all series from legend
   ![line-stack](https://user-images.githubusercontent.com/3032714/191447565-4280920b-7bba-4047-b6b1-6a13053cf96b.png)
   
   
   ### What does the proposed API look like?
   
   Add one more option to selectedMode(inside legend) which disables unselecting last active series.
   legend: {
     selectedMode: 'atLeastOne'
   }


-- 
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.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


[GitHub] [echarts] vivek-kandhvar commented on issue #17678: [Feature] Legend selectedMode to keep at least one active

Posted by GitBox <gi...@apache.org>.
vivek-kandhvar commented on issue #17678:
URL: https://github.com/apache/echarts/issues/17678#issuecomment-1274074558

   This will be very useful if done! 


-- 
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