react-highcharts drilldown and animation overrided by parent component function
af13s opened this issue · comments
class Parent extends React.Component {
constructor(props) {
super(props)
this.state{/states/}
}
showdetailsClick()
{
/* code that changes component state */
}
const config = {
chart: {
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,
type: 'pie',
height: 750,
events: {
drilldown: this.showdetailsClick
}
},
I have set up the creation of the config and chart inside my parent component. I want to execute a function of the parent component when the drilldown occurs. My drilldown doesn't trigger when I attempt to assign a function of the parent component to the drilldown.
Closing and there has been no activity in this issue for a while.
if this is still relevant, please feel free to reopen