refreshPieCharts method can be reused. Need design to adjust based on width