Smoothing function in the value chart