And a pre-thanksgiving gift as well. It is magically fixed. Must have been in the middle of a code upgrade. Thank you all. Have a wonderful Thanksgiving!
On Wednesday, November 27, 2013 4:29:29 PM UTC-7, gapifan wrote: > > Greatly appreciate your help! > > A little pre-thanksgiving surprise. One of my piecharts on my dashboard > is unable to draw since the new release. I get the error: > > Object #<R_> has no method 'm' > > Stack from chrome: > > 1. Uncaught TypeError: object is not a function VM1847:1 > 1. (anonymous function)VM1847:1 > 2. google.loader.eval.visualization > > format+en,default+en,ui+en,gauge+en.I.js:1259<https://www.google.com/uds/api/visualization/1.0/c3581c99759b4a64cb69ca21ab634266/format+en,default+en,ui+en,gauge+en.I.js> > 3. > evalOrDefercorechart+en.js:1<https://www.google.com/uds/api/visualization/1.0/066d4fe4c0cc3e0cedab09dc301f0592/corechart+en.js> > 4. (anonymous > function)corechart+en.js:1<https://www.google.com/uds/api/visualization/1.0/066d4fe4c0cc3e0cedab09dc301f0592/corechart+en.js> > 5. (anonymous > function)corechart+en.js:1<https://www.google.com/uds/api/visualization/1.0/066d4fe4c0cc3e0cedab09dc301f0592/corechart+en.js> > > > > > The code causing the above is: > ccview = new > google.visualization.data.group(dataTable,[17],[{'column': 8, 'label': > 'Prospects', 'aggregation': google.visualization.data.sum, 'type': > 'number'}, {'column': 16, 'aggregation': google.visualization.data.sum, > 'type': 'number'}]); > > var callerCategoryPieChart = new > google.visualization.ChartWrapper({ > 'chartType': 'Gauge', > 'containerId': 'analyze3_chart4_div', > 'options': { > 'greenFrom': 66, > 'greenTo': 100, > 'yellowFrom': 33, > 'yellowTo': 66, > 'redFrom': 0, > 'redTo': 33, > 'minorTicks': 5 > }, > //group the data for the pie chart > 'dataTable' : ccview, > 'view' : {'columns': [{ > type: 'number', > label: 'Appt%', > fractionDigits: 2, > calc: function (dt, row) { > return (dt.getValue(row, 1) > 0) ? ( Math.round( > ((dt.getValue(row, 2)/dt.getValue(row, 1)))*100,2) ) : null; > } > } ]} }); > callerCategoryPieChart.draw(); > -- 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/groups/opt_out.
