You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may help use use encodeURIComponent() on the JSON before storing it in the data attribute. Then using decodeURIComponent() when extracting the data attribute.
Though, based on the ", those functions may already be in use.
The text was updated successfully, but these errors were encountered:
Example JSON:
Because each of these strings has a space between the quotes, it disrupts how the data is stored in the data attribute:
Series 1
Basic Radar Chart
HTML when there's no spaces:
versus HTML when there's spaces:
It may help use use
encodeURIComponent()
on the JSON before storing it in the data attribute. Then usingdecodeURIComponent()
when extracting the data attribute.Though, based on the
"
, those functions may already be in use.The text was updated successfully, but these errors were encountered: