JJGOD-13 opened a new issue, #21615:
URL: https://github.com/apache/echarts/issues/21615

   ### What problem does this feature solve?
   
   Currently there doesn't seem to be any option for the legend items to be 
'user-interactive' i.e. The chart user can't move them around, or resize the 
legend. 
   
   Being able to reposition the legend is useful for occasions where the legend 
has to be included in the Axis and when there is limited space to put the 
legend.
   
   ### What does the proposed API look like?
   
   Ideally some sort of `draggable` or `userInteractive` toggle on the `Legend` 
class. So that you can do something like:
   
   ```js
   legend: [
     {
       draggable: true, // <--- Like that?
       orient: "vertical",
       top: POS_FROM_TOP_LEGEND,
       left: "2%",
       itemWidth: 10,
     },
   ]
   ```


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

Reply via email to