如何在 [Symfony] 中使用 google 制作 CalendarChart
How to make CalendarChart with google in [Symfony]
我使用 CMENGoogleChartsBundle
https://github.com/cmen/CMENGoogleChartsBundle
我试过 pieChart()
$pieChart = new PieChart();
$pieChart->getData()->setArrayToDataTable(
//data ..
);
它的工作
$calendar = new Calendar();
$calendar->getData()->setArrayToDataTable();
不工作
I have followed the documentation but i don't understood, because its
in js but i need to make it by php like pieChart()
应该是……
$calendar = new CalendarChart();
我使用 CMENGoogleChartsBundle https://github.com/cmen/CMENGoogleChartsBundle 我试过 pieChart()
$pieChart = new PieChart();
$pieChart->getData()->setArrayToDataTable(
//data ..
);
它的工作
$calendar = new Calendar();
$calendar->getData()->setArrayToDataTable();
不工作
I have followed the documentation but i don't understood, because its in js but i need to make it by php like pieChart()
应该是……
$calendar = new CalendarChart();