3๐
โ
You can update like as follows
chart.config.data.labels = newLabels // you can pass the new labels
chart.update()
0๐
Try it also
chart.data.labels = newLabels
chart.update()
Source:stackexchange.com