I am currently working on updating chart properties for amCharts in Angular 5. I have successfully changed some properties such as backgroundColor, but I am running into issues with balloons. The balloon color and background color are not changing when using the amChartsService. I have tried destroying the chart and recreating it, but I know there must be a better way to do this. Below is my code snippet:
this.amChartsService.updateChart(this.currentChart, () => {
this.currentChart['balloon']['color'] = value;
});
When I log `this.currentChart.balloon.color` in the console, it shows that the value has been changed, but it is not reflected in the actual chart.
Why am I encountering this issue? Is it a bug that needs to be reported, or am I doing something incorrectly?
Thank you.