What I am talking about is the way that you are seeking this data. Take a look here in this documentation: http://code.google.com/apis/chart/interactive/docs/php_example.html Any questions just ask On Dec 10, 9:13 pm, Antonis Panagi <[email protected]> wrote: > I'm loading the data from outside (db). I do not think that the problem is > not loading the data because I checked my datasource and it has about 200 > records in it. If you see also the error message I get "Value 364390" it > means that there is some data. The problem is parsing of this data. I > checked the type before adding it to the datasource and is type of decimal. > > Thanks, > > AP > > On Sat, Dec 10, 2011 at 10:29 PM, William Espindola > <[email protected]>wrote: > > > > > > > > > I think this error is happening because you are not loading the data. > > Tell me, this Will be static data or you will bring an outside source? > > On Dec 10, 11:49 am, pantonis <[email protected]> wrote: > > > 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.
-- 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.
