Thanks for the response.

Even the default sample is not working. This is the code:

<html>  <head>    <script type="text/javascript" 
src="https://www.google.com/jsapi 
<view-source:https://www.google.com/jsapi>"></script>    <script 
type="text/javascript">      google.load("visualization", "1", 
{packages:["corechart"]});      google.setOnLoadCallback(drawChart);      
function drawChart() {        var data = 
google.visualization.arrayToDataTable([          ['Year', 'Sales', 'Expenses'], 
         ['2004',  1000,      400],          ['2005',  1170,      460],         
 ['2006',  660,       1120],          ['2007',  1030,      540]        ]);      
  var options = {          isHtml: true,          title: 'Company Performance'  
      };        var chart = new 
google.visualization.LineChart(document.getElementById('chart_div'));        
chart.draw(data, options);      }    </script>  </head>  <body>    <h1>Test 
chart</h1>    <div id="chart_div" style="width: 900px; height: 500px; position: 
relative; border: solid 1px black;"></div>    <a 
href="https://developers.google.com/chart/interactive/docs/gallery/linechart 
<view-source:https://developers.google.com/chart/interactive/docs/gallery/linechart>">More...</a>
  </body></html>


-- 
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 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to