<https://lh3.googleusercontent.com/-etZQUbJ3cj0/VipkTlzIJDI/AAAAAAAABoo/go56Cy7cl7E/s1600/Sem%2Bt%25C3%25ADtulo.png>
Hello!
I'm trying to do this chart, but don't work!
I believe that my problem are the columns in the chart.
Sorry my bad english, and thank's!
window['data'+contador] = new google.visualization.DataTable();
window['data'+contador].addColumn('string', 'Pergunta');
window['data'+contador].addColumn('string', 'Resposta');
window['data'+contador].addColumn('number', 'Quantidade');
@foreach($resultado as $key=>$value)
@foreach($value as $pergunta=>$arrayResposta)
@foreach($arrayResposta as $resposta=>$quantidade)
*window['data'+contador].addRows([[{v:
'{{$pergunta}}'},'{{$resposta}}',{{$quantidade}}]])**;*
@endforeach
@endforeach
@endforeach
*addRows([[{v: '{{$pergunta}}'},'{{$resposta}}',{{$quantidade}}]])**;*
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/7629e5d5-1877-4f43-aade-b319ef8cda86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.