ChartJS Pluggable Widget OnClick function not getting invoked

0
Hi All, I am trying to create a pluggable ChartJS widget in Mendix. But I am not able to call the onClick event linsters in order to get the clicked attribute data. This same code is working fine in React application but when it is integrated in form of widget in Mendix Apllication, functionality does not work as expected. Any help will be appreciated. The function that should be invoked is options.options.onClick. s     Trying to call the “Onclick” function on line 100 of below image on click of any bar of the chart.      
asked
0 answers