add bar graph interface