Fixes problems with non-decimal values on graph