While setting the selectable attribute in a bar (/any other) chart, the legend icon acts as a URL.
Setting up the chart selectable attribute to false (or adding pointer-events : none for the anchor tag in DOM) prevents the chart legend from acting as a URL but does not retain the highlight effect on clicking each of the chart slices.
This is causing problems in our application where it appends some legend on our home page as "http://my-application/#legendA" which is redirected to a blank page.
Expected behavior
Clicking the legend should not redirect the page but highlighting chart slices should work as it is.
Versionids-enterprise-wc - 1.0.0
Screenshots
(You can notice the legend appended in the URL)
Problem
While setting the
selectable
attribute in a bar (/any other) chart, the legend icon acts as a URL.Setting up the chart
selectable
attribute to false (or addingpointer-events : none
for the anchor tag in DOM) prevents the chart legend from acting as a URL but does not retain the highlight effect on clicking each of the chart slices.To Reproduce
Expected behavior Clicking the legend should not redirect the page but highlighting chart slices should work as it is.
Version ids-enterprise-wc - 1.0.0
Screenshots (You can notice the legend appended in the URL)