Difference between revisions of "Web Element: Google Chart"


Line 1: Line 1:
<html>
+
<html><iframe width="240" height="240" seamless frameborder="0" scrolling="no" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTon6qJGHrb96YGVFVbG2F5zVGij4_y4yGUlVs_RpruJtGJcv4MG54CoG2K41XUcfzANFewFToHA5kj/pubchart?oid=1842936971&amp;format=interactive"></iframe></html>
  <head>
 
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
 
    <script type="text/javascript">
 
      google.charts.load('current');
 
      google.charts.setOnLoadCallback(drawVisualization);
 
 
 
      function drawVisualization() {
 
        var wrapper = new google.visualization.ChartWrapper({
 
          chartType: 'LineChart',
 
          dataSourceUrl: 'https://docs.google.com/spreadsheets/d/1YUqF27YsO2tVdFL1R6Oxu5BT5itjA_ozZDrekzfFclk',
 
          query: 'SELECT A,B',
 
          options: {'title': 'Countries'},
 
          containerId: 'vis_div'
 
        });
 
        wrapper.draw()
 
 
 
        // No query callback handler needed!
 
      }
 
    </script>
 
  </head>
 
  <body style="font-family: Arial;border: 0 none;">
 
    <div id="vis_div" style="width: 600px; height: 400px;"></div>
 
  </body>
 
</html>
 
 
 
<html><iframe width="264.5" height="234.96416666666664" seamless frameborder="0" scrolling="no" src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTon6qJGHrb96YGVFVbG2F5zVGij4_y4yGUlVs_RpruJtGJcv4MG54CoG2K41XUcfzANFewFToHA5kj/pubchart?oid=1842936971&amp;format=interactive"></iframe></html>
 

Revision as of 16:13, 28 April 2020