I'm trying to get drilldown to work with a double click in angular. I've followed this question on stackoverflow https://stackoverflow.com/questions/545 ... highcharts and installed the necessary package, imported it to my component but I still get complaints that dblclick is not assignable to type 'PointEventsOptionsObject'.
Code: Select all
import CustomEvents from 'highcharts-custom-events';
CustomEvents(Highcharts);
export class MapComponent {
public chartOptions!: Highcharts.Options;
constructor() {
this.chartOptions = {
plotOptions: {
series: {
point: {
events: {
dblclick: () => this.isDoubleClick = true
}
}
}
}
}
}
}