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://docs.google.com/spreadsheet/tq?key=0Anlq07HbSPGkdHQ2djB2eEFvQ0E1bWFyaXVVb2YyZ2c&range=A1&headers=-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.
