Added a configuration option to control the width of bars in a ColumnChart/BarChart and candlesticks in CandlestickChart
Fixed crash when calling clearChart() twice in a row for charts in the corechart package
Fixed malfunctioning interactivity when calling draw() after clearChart() for charts in the corechart package
GeoChart: New province maps for Estonia, Finland, Lithuania, Latvia, Somalia and South Sudan
Gauge: Fixed crash when calling draw() twice in Firefox.
IMPORTANT: in our next release (expected early June) we will flip the default value of the forceIFrame option to 'false'. Please make sure to test your installations with this option set to 'false' in advance, and report any issues.
Enjoy,
The Google Chart Tools team
asgallant
unread,
May 3, 2012, 10:44:04 AM5/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com, google-chart-too...@googlegroups.com
What are the parameters for setting the bar widths in a bar chart?
visigoth
unread,
May 3, 2012, 11:57:21 AM5/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com, google-chart-too...@googlegroups.com
The option is named bar.groupWidth. That is, we introduced a new option called bar, which currently has only one sub-option called groupWidth.
Documentation for it will be available next week. For now:
Description: The width of a group of bars, either by an absolute value in pixels (e.g., '20'), or by a percentage of the total width (e.g., '30%').
Default: the golden ratio (~61.8%).
The new option is available for Bar, Column, Candlestick & Combo charts.
asgallant
unread,
May 3, 2012, 12:51:14 PM5/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com, google-chart-too...@googlegroups.com
For those who are interested, after testing I determined that the groupWidth is (properly) limited by a maximum that is roughly chartArea width / number of rows (there seems to always be some small amount of padding in between groups). When using percentages, it is the percentage of this width, not the chartArea's width, that you are setting.