开发者

how to use googlecharts API: DataTable.toJSON()

开发者 https://www.devze.com 2023-03-26 18:20 出处:网络
all I want to use php to get data from mySQL database, then use googe charts to draw a chart. I used json_encode() to convert my query result table to JSON, but it does not work. It returned, the tab

all

I want to use php to get data from mySQL database, then use googe charts to draw a chart. I used json_encode() to convert my query result table to JSON, but it does not work. It returned, the table has no columns. I noticed there is toJSON() function in Google charts API, but there is no detaile开发者_如何学JAVAd information. Anyone knows how to use this function? thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号