api data bar chart done