using chart in the map, dynamic update of chart