cmen / CMENGoogleChartsBundle

This Bundle provides a Twig extension and PHP objects to display Google charts in your Symfony application.
https://developers.google.com/chart/
Other
75 stars 21 forks source link

How to use calendar chart in Controller #27

Closed khaliltr closed 5 years ago

khaliltr commented 5 years ago

I haven't understood the documentation official because they using javascript https://developers.google.com/chart/interactive/docs/gallery/calendar#a-simple-example,

I want to make it with php in symfony like the pieChart

       $pieChart = new PieChart();
        $pieChart->getData()->setArrayToDataTable(
            //data...
        ); ..

 i have used 

$calendar = new Calendar(); $calendar->getData()->setArrayToDataTable();..



but not working
cmen commented 5 years ago

Did you see and test the example here : https://github.com/cmen/CMENGoogleChartsBundle/blob/master/Resources/doc/cookbook.md#calendar-chart ?

khaliltr commented 5 years ago

Oh i'm sorry i didn't see that, thank you