I am using Highcharts to render some graphs to my website. Sometimes, I need to remove all series from the chart and add some new series to the chart, because I requested so
try using addClass() method. suppose your container is some element X having id Y. put style information inside head as,
then every time you are adding data to any element call addClass("Y") on that element.