Click on the ReDraw button and the bars in the graph are redrawn randomly. The total is calculated on the top. I used styles in conjunction with a JavaScript function that sets the height of the red single cell tables to a random amount anywhere between 1 pixel and 300 pixels. Use JavaScript to dynamically generate a bar chart |
Over 2000+ free Javascript
at JavaScriptBank.com Website