adding view for charting