graph data value rounding and validation