Changes to Google Chart PHP
Posted on 2013-01-23
I have a Google chart on a page and would like to make the following changes to it:
If there are two entries in the database for the same day, then add them together so that they are displayed on the chart as one single entry.
If there are more than 12 entries in the database then display the results in months instead rather than each particular date. A new function would add together all of the results of the individual results for a month and then take the average of them and have it displayed on the chart. So the x axis would look like this (Oct 12, Nov 12, Dec 12, Jan 13 etc).
Thank you very much for your assistance,