Hi,

I'm trying to create a Line chart and I get the following error:

Type mismatch. Value 364390 does not match type number in column index
0
[Break On This Error] function Mq(a,b,c){if(c!=k){var a=a[Qb...ch type
"+a+" in column index "+b))}}

I'm populating the datasource with typeof int. Do you know what's
causing this error?
Below is my code

 function drawChart() {
        var data = new google.visualization.DataTable();
        data.addColumn('number', 'Amount');
        data.addRows(datasource);

        var options = {
            width: 800, height: 480,
            title: 'Top sales'
        };

        var chart = new
google.visualization.LineChart(document.getElementById('chart_div'));
        chart.draw(data, options);
    }

-- 
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