Khalil
Khalil

Reputation: 33

How to make CalendarChart with google in [Symfony]

I use CMENGoogleChartsBundle https://github.com/cmen/CMENGoogleChartsBundle I have tried the pieChart()

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

Its work

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

Not work

I have followed the documentation but i don't understood, because its in js but i need to make it by php like pieChart()

Upvotes: 0

Views: 84

Answers (1)

WhiteHat
WhiteHat

Reputation: 61230

it should be...

$calendar = new CalendarChart();

Upvotes: 1

Related Questions