scales are not redrawn every time the data changes