Data column(s) for axis #0 cannot be of type string error in google chart

后端 未结 5 1498
慢半拍i
慢半拍i 2021-01-05 20:29

I tried to populate google chart datatable in server side using PHP.I got JSON file properply, but the Chart not display in client Application. I got error-Data colu

5条回答
  •  滥情空心
    2021-01-05 21:16

    In your drawChart() function, you are probably using google.visualization.arrayToDataTable, and this does not allow any nulls. Please use addColumn function explicitly

提交回复
热议问题