A bug in grpah while using google visualization API on IE
- by gili
Hi,
i'm using google visulization API to build a line chart grapgh. it works fine on FF and Chrome but i'm having problems on IE7: the problem is that the scailing of the x-axis (string) and y-axis (integer) is all wrong. both axis have the same values for some reason, but naturally those valuse are wrong.
my code is the following one:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Date');
data.addColumn('number', '??????? ???? ??????');
data.addColumn('number', '??????? ??????');
data.addColumn('number', '??????');
data.addColumn('number', '???????');
data.addColumn('number', '???????');
var n = userRightGuessArray.length;
data.addRows(userRightGuessArray.length);
data.setCell(0, 0, '?? ?????? ??');
data.setCell(0, 1, 0);
data.setCell(0, 2, 0);
data.setCell(0, 3, 0);
data.setCell(0, 4, 0);
data.setCell(0, 5, 0);
for(var t = 1 ; t
// Create and draw the visualization.
var chart = new google.visualization.ImageLineChart(document.getElementById('line_div'));
chart.draw(data, {width: 400,legend: 'top'/showValueLabels:false/});
thank you for your help,
Gili