The API allots (chartArea width / number of potential bar groups) pixel per 
bar group, and sets the group width based on that.  The bar group occupies 
the entire allotment, even though the bars may be drawn in a smaller area; 
the "spacing" between bar groups is simply the unused portion of the 
allotment. 

You can override the automatic group width determination with the 
bar.groupWidth option, but once you do that, the only way to affect the 
spacing between groups is to change either the chart's width or 
chartArea.width options (or both) to increase or decrease the allotted 
space per bar group.

On Friday, February 15, 2013 10:32:37 AM UTC-5, Geoffrey Zheng wrote:
>
> But there is no way to set a fixed bar width AND control the spacing 
> between the groups of bars, since they use the same option?
>
> On Friday, July 27, 2012 8:41:52 AM UTC-4, Chris wrote:
>>
>> Thanks Vicent. That helps in my case.
>>
>> On Monday, July 23, 2012 8:03:53 PM UTC-3, Vincent Fu wrote:
>>>
>>> I have used the option "bar: {groupWidth: '100%'}" to nearly eliminate 
>>> all of the space between bars.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to