modify gauge and chart.