taking out message when chart type is changed.