Using the addLegendHideListener and addLegendShowListener works, but they call functions that I don’t want called, so I’m using simple click listeners on my pie chart legend instead. addLegendMarkerClickListener works great, but addLegendLabelClickListener never even gets called when I click on a legend label. I need to either get that working, or disable the labels from effecting the chart. Either one of these solutions would work great.
Hi,
it is not clear from AmCharts documentation: AmLegend | JavaScript Charts v. 3 | amCharts, but you have to set textClickEnabled of a legend to true to be able to handle clicks on legend labels: