How to implement bar charts by using php.