Graphic generation of bar size and color random