I am trying to update my highcharts treemap with new data but it dosen't seem to reflect when I click on update. Only the title getting changed.
Also the option which was suggested on multiple page's dont seems to work:
this.chartOptions.series[0].data = this.datatable; // ERROR
Here is the whole code in https://stackblitz.com/edit/highcharts- ... ate-bv64br and update method:
handleUpdate() {
this.chartOptions.title = {
text: 'updated'
};
this.datatable = [{
name: 'A',
value: 6,
colorValue: 1
}, {
name: 'B',
value: 6,
colorValue: 2
}];
this.chartOptions.data = this.datatable;
this.updateFlag = true;
}
Any suggestion is much appreciated.