That it! Thanks, Jinji!

On Jan 13, 6:16 pm, Jinji <[email protected]> wrote:
> Modifying the snippet you got from Google Spreadsheet is not exactly
> supported, but the problem is that you put the "chartArea" part outside the
> "option" structure, and it needs to be inside it.
>
>
>
> On Wed, Jan 12, 2011 at 6:24 PM, Nick <[email protected]> wrote:
> > I'm embedding an API chart in my Wordpress blog and I'd like to cut
> > some of the whitespace that's automatically added to the top and sides
> > of the graphic. Here's the code I've been using:
>
> > <script type="text/javascript" src="//ajax.googleapis.com/ajax/static/
> > modules/gviz/1.1/chart.js">
> > {"chartType":"LineChart","chartName":"Chart 2","dataSourceUrl":"//
> > spreadsheets.google.com/tq?
>
> > key=0AlAGithkZxredE5uU3p5LWRsQWlmczNGMEhlVmpQTlE&range=A1%3AT3&gid=0&transp 
> > ose=1&headers=1&pub=1","options":
> > {"displayAnnotations":true,"showTip":true,"nonGeoMapColors":
>
> > ["#134f5c","#45818e","#FF9900","#109618","#990099","#0099C6","#DD4477","#66 
> > AA00","#B82E2E","#316395"],"reverseCategories":false,"dataMode":"markers"," 
> > maxAlternation":
> > 1,"pointSize":"0","colors":
>
> > ["#134f5c","#45818e","#FF9900","#109618","#990099","#0099C6","#DD4477","#66 
> > AA00","#B82E2E","#316395"],"smoothLine":true,"lineWidth":"2","labelPosition 
> > ":"right","is3D":false,"logScale":false,"hasLabelsColumn":true,"wmode":"opa 
> > que","title":"","legend":"top","allowCollapse":true,"reverseAxis":false,"is 
> > Stacked":false,"mapType":"hybrid","width":
> > 350,"height":180},"chartArea":
> > {"left":"30","top":"10"},"packages":"corechart","refreshInterval":5}</
> > script>
>
> > Note the "chartArea" snippet near the end. I managed to do this a
> > while ago but I can't remember what I'm doing wrong here. Any advice?
>
> > --
> > 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]<google-visualization- 
> > api%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-visualization-api?hl=en.

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