check if the data is new before triggering chart update

This prevents the labels from flickering on hover.