The column chart computes the width of the columns based on the closest data values, so I would guess that somewhere in your data, not the part that is visible, you have two domain values that are very close. We don't yet have an option for specifying the column width any other way.
On Wed, Apr 15, 2015 at 8:19 AM, mariummalik22 <[email protected]> wrote: > When I am plotting column chart using dashboard the bars' width has > reduced to zero. (1.png) Although when I plotted the same data separately > it's width is completely fine. (2.png) What could be the reason of it? > > My code where this chart is defined is: > > // Create a line chart, passing some options > var Chart3 = new google.visualization.ChartWrapper({ > 'chartType': 'ColumnChart', > 'containerId': 'chart_div3', > 'options': { > 'width': 1000, > 'height': 500, > 'legend': 'top', > 'bar': { groupWidth: '100%' }, > isStacked: true, > series: { > 0: { > color: 'green' > } > }, > chartArea: { > left: "8%", > top: "10%", > width: "100%", > height: "80%", > } > }, > view: { > columns: [0,4,5] // use columns 0 and 2 > }, > > > > }); > > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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. For more options, visit https://groups.google.com/d/optout.
