change precision of the chart