asgallant:
I've tried applying your code with no luck. I've reviewed the group documentation and here's what I'm doing:
creating datatable and populating it with my source data:
var data = new google.visualization.DataTable();
data.addColumn('string', 'Workflow Stage');
data.addColumn('string', 'Project Name');
then I add the source data:
data.addRows([[currentEmplyee.get_item("WFStage"),currentEmplyee.get_item("Project_x0020_Name")]]);
I add your code for the creation of the new datatable with an input of the data table I created with my source table:
var counts = google.visualization.data.Group(data, [0], [{column: 0, type: 'number', label: 'Count',aggregation: google.visualization.data.count}]);
get my html element:
var table = new google.visualization.Table(document.getElementById('table_div'));
now draw my table:
table.draw(counts, {allowHtml: true,showRowNumber: true});
my code executes correctly until it reaches the "var counts" line.
no table is drawn. What am I doing wrong??
Thanks in advance.
Mark