Create class to support bar graph widget