Implemented functional bar graph