Data Column(S) For Axis #0 Cannot Be Of Type String

Data Column(S) For Axis #0 Cannot Be Of Type String

Data Column(S) For Axis #0 Cannot Be Of Type String. Web i have run my google line chart and following error occure on my webpageerror data columns for axis 0 cannot be of type stringplease someone can. Web it's because you're using arraytodatatable, instead of providing the column types explicitly.

javascript Error Data column(s) for axis 0 cannot be of type string Stack Overflow
javascript Error Data column(s) for axis 0 cannot be of type string Stack Overflow from stackoverflow.com

Web it's because you're using arraytodatatable, instead of providing the column types explicitly. Arraytodatatable tries to guess the types from the data, but null gives. Data column (s) for axis #0 cannot be of type string.