I didn't answer before as I don't know enough about PHP to help you with 
any code, but what you want to do is surprisingly straightforward.

Create an array to hold your variables
Loop through that to create the HTML, create the query to Google 
Visualizations and draw the graphs.

There's something I've been working on 
at https://jsfiddle.net/brisray/2a3rmwgu/

There's one thing I'm not sure about. My code cannot capture the graph 
ready event. I do not know why. The original code looks like it should have 
been able to to ensure the graph is drawn before it moves on to the next 
function - but it doesn't. As a temporary measure I added a small 1/10 of a 
second delay to ensure the graph is drawn before the user in my code is 
able to manipulate the graphs.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/ce7af2b2-f4d0-43bb-9013-0bc8a18854c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to