I am creating google chart and my legend is not being folded into pages.

My code is something like

<script type="text/javascript" src="https://www.google.com/jsapi";></script>
    <script>
        google.load("visualization", "1.1", { packages: ["bar", "table"] });
        var chart;
        var table;
        var graphOptions = {
            title: 'Liczba ekspozycji w miesiÄ…cu',
            pointSize: 5,
            vAxis: { viewWindowMode: "explicit", viewWindow: { min: 0 } },
            height: '500'
        };
            $(function() {
                chart = new 
google.charts.Bar(document.getElementById('chart_div'));  
            });
            var maxGraphLines = 50;

            function refreshGraph(data) {
                chart.draw(dataTableForGrap, 
google.charts.Bar.convertOptions(graphOptions));
            }
        </script>

 <div id="chart_div" ></div>\

and what I get is:

<http://i.stack.imgur.com/oFo3x.jpg>
as you can see the labels for legend are going all the way down even behind 
the div. They should be paged into pages but this does not happen. Any help 
will be appreciated. Thanks.


-- 
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.
  • [visualization-api] Googl... Grzegorz Fedczyszyn

Reply via email to