#103415

Hi,

The seriesGroups is an array you should access its elements with the brackets¬† ‘seriesGroups[2]’ for example.
This goes for the seriesGroups[2].bands too.

The most important thing is that after each property or data change you must call the refresh() method. ‘chart.refresh();’

 

Look at this demo in each you can update the bands after clicking on a button: https://codepen.io/svetoslavb04/pen/rNdmBoW

 

If you need further help, do not hesitate to contact us!

 

Best Regards,
Svetoslav Borislavov

Smart UI Team
https://www.htmlelements.com/