Here is how to do a bar graph
simply using a Canvas and sprites

For the example, use seven png sprites, each 10 pixels x 10 pixels. The Canvas as shown has 200 vertical pixels to work with . You have to scale your actual input. The text block could display your graph's scale. You could also use a Background image in the Canvas to show a scale. Use your imagination.
Regards,
Steve