[dynamicCharts] can update the barcharts
[dynamicCharts] can update pie charts