Hello Can anyone advise?
I have a situation where I need to use the Google Interactive Charts in a batch job which will run on a server every hour. The job needs to be able to create a small number of images files which can then be cached and displayed on a honepage of an application. The problem lies in the choice of which Google tool to use during the execution of the batch job. Is it possible to call the Interactive Charts outside of a web page: so code like this: <script type='text/javascript' src='http://www.google.com/jsapi'></ script> <script type='text/javascript'> google.load('visualization', '1', {packages: ['imagelinechart']}); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('string', 'Year'); ... data.addRows(4); data.setValue(0, 0, '2004'); ... var chart = new google.visualization.ImageLineChart(document.getElementById('line_div')); chart.draw(data, {width: 400, height: 240, min: 0}); } </script> Which would normally be embedded in a web page, would be automatically processed in the batch job. At the moment I am wondering about how this might be done in GET or POST requests? Is this possible or pratical though? Has anyone any thoughts here? An alternative is for me to use Google Image Charts but I would much prefer to use the Interactive Charts instead. Mr Morgan. -- 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.
