Just released GChart 2.2 which fixes this problem by letting you precisely size the space allocated for chart decorations (title, footnotes, axis labels and legend) around the chart's plot area.
See the first item in these 2.2 release notes for details and a link to an example "no space added" GChart: http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/client/doc-files/gchart2p2features.html Thanks for reporting this problem: It's now easy to define the exact pixel size of the chart as a whole, including decorations, so that GCharts can fit into fixed sized rectangles on a page, just like images do. John C. Gunther http://gchart.googlecode.com On Aug 5, 7:11 am, MN <[EMAIL PROTECTED]> wrote: > @Niall: > if you found a nice workaround, please post your codesnippet here. > thanks. > > On 1 Aug., 16:13, "Niall Haslam" <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I am usingGChartto display some graphical information. I want to create > > something like the sparklines that is available from the google chart api. > > Therefore I want to create a simple widget where the first pixel of the > > widget is the first data point. However, inGChartthere seem is always > >spaceat the left and bottom of the widget for where the X axis and Y axis > > labels and titles should go. Does anyone know how to make them disappear and > > therefore make a graph that looks like this: > > >http://chart.apis.google.com/chart?chs=100x20&cht=ls&chco=0077CC&chm=... > > > TheGChartdocs suggest mailing here in the absence of aGChartspecific > > mailing list. Sorry if it isn't relevant. > > > Thanks, > > > Niall. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
