Answer the question
In order to leave comments, you need to log in
How to pass html to json for Google Charts?
I form json for uploading to Google Chart ( https://developers.google.com/chart/interactive/do... ) - I draw a table; at the same time, I would like the rows in the table to be with html code.
If I use tags inside a string, the code does not work, the table is not shown (apparently, json is not valid). Googled, it is advised to use the json_encode php function, it escapes and converts invalid characters; however, in the end, nothing works; Looks like Google Chart doesn't accept this format.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question