Is this possible in flash? If yes, how do I proceed?

Hi,

Please bear with me if the title sounds ridiculous. Infact I dont even know how to ask the question… I wud like to know if this is possible in flash at all?

Suppose I have 2 output percentages c1 (=a1/a2) and c2 (=b1/b2)…where a1, a2, b1, b2 are input text boxes.
Based on the calculated percentages of c1 and c2 is it possible to generate a graph with the percentages being vertical bars on the X axis. Can someone suggest how these dynamic graphs can be generated from the values I get, if at all it is possible?

Thanks again.