Thank you very much, it helped me a lot, but the graph still doesn't work. =(
It works when I use: const chartdata1 =[["Category","value"],["Categoria1", 16.6],["Categoria2", 16]]
the code returns the same thing, it's very strange: [["Category","value"],["Categoria1",16.6],["Categoria2",16]]
*I used the splice to add the header chartData.splice(0, 0, ["Category","value"])
returns: Table has no columns
you should post your code, so we can help.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you very much, it helped me a lot, but the graph still doesn't work. =(
It works when I use:
const chartdata1 =[["Category","value"],["Categoria1", 16.6],["Categoria2", 16]]
the code returns the same thing, it's very strange:
[["Category","value"],["Categoria1",16.6],["Categoria2",16]]
*I used the splice to add the header
chartData.splice(0, 0, ["Category","value"])
returns: Table has no columns
you should post your code, so we can help.