value calculation bug on bar chart fixed