correct illustration of the measurement values in canvas