Function Histogram add yup format