Home >Backend Development >PHP Tutorial > 有没有人用过google chart api 折线图,把php里的数组放到js里显示折线图解决方法

有没有人用过google chart api 折线图,把php里的数组放到js里显示折线图解决方法

WBOY
WBOYOriginal
2016-06-13 13:34:14966browse

有没有人用过google chart api 折线图,把php里的数组放到js里显示折线图
$json =json_encode($myData['CourseInfo']);
?>

 







我是把php数组转为json数据,把json数据放到data.addRows([])这里,但是不显示,求解

------解决方案--------------------

给你发过去了,看看吧
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn