There's no google.setOnLoadCallback call here. If this isn't the issue,
please create a simple example (with dummy data) and send to us so we could
inspect it (possibly using jsfiddle).

On Tue, Oct 4, 2011 at 5:59 PM, Stephane <[email protected]> wrote:

> Hi,
>
> Can someone explain me why I can't see hAxis and vAxis units (date in
> string and a number of visits) in IE7 and IE8? I didn't try with IE9
> but it works well on Firefox and Chrome.
>
> Here's my code:
>
> google.load("visualization", "1", { packages: ["corechart"] });
> function drawChart(tbl) {
>            var data = new google.visualization.DataTable();
>            data.addColumn('string', 'Date');
>            data.addColumn('number', 'Visiteurs');
>            data.addRows(tbl.length);
>
>            for (var i = 0; i < tbl.length; i++) {
>                data.setValue(i, 0, tbl[i].date);
>                data.setValue(i, 1, tbl[i].nbVisits);
>            }
>
>            var chart = new
> google.visualization.LineChart(document.getElementById('chartDiv'));
>            chart.draw(data, { left: 50, top: 0,
>                width: 570, height: 330,  chartArea:{left:80,top:
> 20,width:500,height:250}, legend: 'none', hAxis: { showTextEvery: 4/*,
> slantedText: true*/ }
>            });
>        }
>
> I can't show you the page because it's on an intranet. The data is
> loaded from Ajax though. I request a data table and then pass the
> result to the function drawChart(tbl) to refresh the graph.
>
> Thanks for any idea.
>
> Stephane
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to