Fix some chart bugs (neg values, button, no type selected) and add msg