Hi,

I am creating a chart using database values. My chart is working. Now
i need to draw the same chart in another page when fire a event on the
chart. This is a part of my code


google.visualization.events.addListener(chart, 'select',
selectHandler);

function selectHandler(e){
var selection = chart.getSelection();

for (var i = 0; i < selection.length; i++) {
var item = selection[i];
var val = data.getFormattedValue(item.row,0);

if(val=="Eat"){

// here I need to pass the same chart from this page to "page2.php''
witout creating the chart in "page2.php".

}
}
}
}
    </script>
    <div id="chart_div"></div>

Can anyone help me?

-- 
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