Bar Chart in PHP
I have learned a good example to display a bar chart in PHP, and I added a loop
statement, so the length of the bar can fit for the width of the browser.Since the blog will filt a lot of html and PHP tags, I will pulish the final result in my online host. The main idea is to set the a table's cellpadding>=2, and then set bgcolor's length flexible to the cell in which a bar is displayed. In other word, the bgcolor length is directly propotional to the amount we defined.
No comments:
Post a Comment