On Thursday, August 1, 2013 12:23:59 PM UTC-6, [email protected] wrote:
>
> I have a google chart that I am having a problem with the legend. If you 
> look at the chart below, you will note that the descriptions are cropped. I 
> need to expand the size of the left side of the legend. Does anyone know 
> how to do this? Resizing the chart itself does not solve the problem.
>
> You help is appreciated, and my thanks in advance.
>
>
> <https://lh3.googleusercontent.com/-yC15JtcQ9AQ/Ufql-n72_PI/AAAAAAAAAAc/IJ7OLZJsieE/s1600/Chart.jpg>
> My code for the drawing is as follows:
>       function drawChart()  {
>
>         // Create the data table.
>         var dataHouseholds = new google.visualization.DataTable();
>         dataHouseholds.addColumn('string', 'Houshold');
>         dataHouseholds.addColumn('number', 'Total');
>  dataHouseholds.addRows(<?php echo $dataHouseholds; ?>);
>         // Set chart options
>         var optionsHouseholds = {'title': '<?php echo $TitleHouseholds; 
> ?>',
>
>                        'width':700,
>                        'height':400,
>                        'backgroundColor.stroke':'#654',
> 'backgroundColor.strokeWidth':1
> };
>
>         // Instantiate and draw chart, passing in some options.
>
>         var chartHouseholds = new 
> google.visualization.BarChart(document.getElementById('chart_Households'));
>
>         chartHouseholds.draw(dataHouseholds, optionsHouseholds);
> }
>

-- 
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/groups/opt_out.


Reply via email to