Merged #77 "A single quote in a chart label generates invalid JavaScript"