added setGraphicsData implementation in MeasureGraphicsItem