I'm trying to learn how to use google API so that I can take several
sparkline charts on a google doc and embed them in a HTML Table on my
website.

Here's an example of a sparkline table I created (the query range)

https://do​cs.google.​com/spread​sheet/tq?k​ey=0Anlq07​HbSPGkdHQ2​djB2eEFvQ0​E1bWFyaXVV​b2YyZ2c&ra​nge=A1&hea​ders=-1


I've added this to the header of my site:

<script type="text/javascript" src="https://www.google.com/jsapi";></
script>
<script type="text/javascript">

  // Load the Visualization API library and the piechart library.
  google.load('visualization', '1.0', {'packages':
['corechart','table','imagesparkline']});
  google.setOnLoadCallback(drawChart);
     // ... draw the chart...
</script>

But I have no idea if I'm going in the right direction, or how to get
the sparkline to embed in my HTML table.

(The table will have many rows, so we will be using multiple sparkline
charts).

Here's a link to the work-in-progress.  Just scroll down to the bottom
of the page:

http://managedaccountreview.com/index-of-subjects/

Any advice?  Thanks!

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