|Re: Google Bar chart problems||asgallant||8/16/12 9:50 AM|
The first two issues are because you are loading the old, deprecated "columnchart" package, which did not support these features. Loading the "corechart" package instead fixes the problem (note, though, that 3d columns are not supported in the new version). To fix the axis scaling, set the viewWindow.min and viewWindow.max options to the minimum and maximum values you want for your chart (note that these are explicit minimum and maximum values, any chart values outside this range will be cropped). To make each bar have its own color, you need to put each data point in its own series and set the "isStacked" option to true. You can use a DataView with calculated columns to put the data in the right format. See an example of all of these using your code here: http://jsfiddle.net/asgallant/X8BmB/
The last item on your list can't be done, though.
On Thursday, August 16, 2012 8:34:08 AM UTC-4, jaav wrote:
I am new in Google Graphs, I need a solution for the following problems: