add bar chart in init_quality