Cat bar graph

improvement of diagram : now it is possible to add category on bar diagram