Greetings,
I want to create a click event or override the click event of plotly chart(type : choropleth).I passed the component like,
{chData? (
<Plot
className=“download_stat_map”
data={chData}
layout={layout}
config={{ showLink: false }}
plotly_click={this.onClick}
/>
) : null}
I tried with “onClick” and “onPlotlyClick” key also.
Can anybody tell me what’s the issue with this