labels in the outputted JS can't have single quote " ' " in them.
Opened this issue · 0 comments
robertbrowncc commented
When you make a chart and the labels have a single quote " ' " in them it gets outputted as '
.
Particularly tricky to handle possessive nouns, like "Tom's Toys" or "the service's agreement terms"
I patched the line to this in the javascript.blade to get it to go. However, maybe others have a better solution and time to work on it.
label: "{!! html_entity_decode($dataset['name'] ?? $options['chart_title']) !!}",