[Chartjs]-Angular ChartJS 2.9.4 issue updating chart

1πŸ‘

βœ…

I think you need to pass the chart object instead of the ElementRef to the update function of your service and it should work…

updateReport() {
        if ( this.dataSource ) {
          this.reportService.update(this.chart, this.dataSource);
        }
    }

Leave a comment