Hello,

I am trying to implement Google charts in a work of mine, I make a
project in PHP and SQL with a web interface.
Managed to draw a simple line chart with a few options, now i stumbled
across event listener thing, It is possible to make an event listener
for the legend ? lets say if you click on "Value 1" square in the
legend the line will toggle between show/hide ?
I can`t get the wrapper to work with the line chart designed, i
currently using PHP to get values from SQL and parse it in the
JavaScript like this:
...
echo 'data.addRow(["'.$timestamp.'", '.$power.', '.$pb2w2.', '.
$pb2w3.', '.$pb2w4.', '.$pb1w3.', '.$pb1w1.', '.$pb1w2.']);';
Is it wrong to do so ?

How about progress bar? the graph takes several seconds to load, until
then all the page is a little messed up, I need some kind of progress
bar (event trigger ? ) to show graph only when is ready. Here I think
the wrapper comes in handy.

I am just a beginner in JavaScript, any help is welcomed !

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to