I'm thinking of implementing the API of Google Charts with PHP to do some statistics, currently there are some graphics but they are developed with CSS directly to give a nice appearance:
After finding Google Chart I was thinking about the possibility of designing the same graph using the API, the problem is that in each column of the graph it is divided into three sections which I must report in a grouped way in the graph.
In the Google documentation I can not see a similar example, but I think the JSON would have a structure similar to this:
var data = google.visualization.arrayToDataTable
([
['Month', 'Boards', 'Chairs', 'Speakers'],
['January', {'Morning':80, 'Night':1000, 'Sunday':10}, {'Morning':20, 'Night':500, 'Sunday':60}, {'Morning':40, 'Night':10, 'Sunday':12}],
['February', {'Morning':30, 'Night':300, 'Sunday':20}, {'Morning':22, 'Night':60, 'Sunday':61}, {'Morning':90, 'Night':33, 'Sunday':22}],
['March'] etc .....
]);
I must show the categories of "Morning", "Night" and "Sunday" in each column, all I need is to know the structure of the JSON and how it looks visually using the API, but I can not see the correct way to interpret it or at least I have not found a tutorial where I explain a similar case, does anyone have a tutorial or guide to develop a similar graphic?
Thanks! :)