I would like to use the same data keeping the format in different line graphs. I mean, I would like to do a matrix translation on the data table.
I use the google code example to explain better my question:
var data = google.visualization.arrayToDataTable([
['Name', 'Gender', 'Donuts February', 'Donuts January'],
['Michael' , 'Male', 12, 5],
['Elisa', 'Female', 20, 7],
['Robert', 'Male', 7, 3],
]);
By default, I can draw the line chart with x-axis: Michael, Elisa, and Robert and two series. But I do not know how to draw in the x-axis: 'Donuts January' and 'Donuts February' and three series (Michael, Elisa, and Robert).
Is it possible?