Nel

Nel

  • NA
  • 716
  • 1m

Multiring donut chart's DataTable problem

Jun 29 2014 6:28 PM
Hello,
Can anybody help me please how to create a DataTable for donught chart with three rings in infobox?
Here is my try:
var data = google.visualization.arrayToDataTable([


[ ['state'], ['cycles', 'percentage'], ['Los','percentage']],


[[markerData[i].state], ['1', spl1[i]], ['A', spl1[i + 4]]],


[[markerData[i].state], ['2', spl1[i + 1]], ['B', spl1[i + 5]]],


[[markerData[i].state], ['3', spl1[i + 2]], ['C', spl1[i + 6]]],


[[markerData[i].state], ['4', spl1[i + 3]], ['B', spl1[i + 7]]],


[[markerData[i].state], ['2', spl1[i + 1]], ['B', spl1[i + 5]]],


]);
So, one circle should have 4 slices, the other 6, and the inner cyrcle only one value
Thanks