meganthecoder commented on issue #21022:
URL: https://github.com/apache/echarts/issues/21022#issuecomment-3006531514

   > @meganthecoder, do you have a code example for SVG or some inner element 
(path, rect, text, etc) being defined as role='button' ?
   
   Hi @helgasoft ,
   
   Here's an example that I threw together: 
https://codepen.io/meganthomas/pen/gbpqwmJ . I tested it on the latest Chrome, 
Firefox and Safari on Mac, but you might want to double check support for all 
browsers that you support.
   
   Alternatively, if that doesn't work, you could pull the legend out of the 
SVG and create it with divs and buttons like Highcharts does.


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