mattetti / googlecharts

Ruby Google Chart API
http://mattetti.github.com/googlecharts/
MIT License
699 stars 108 forks source link

Charts with axis_labels do not display in gmail #27

Closed peterkovacs closed 14 years ago

peterkovacs commented 14 years ago

Displaying a chart in Gmail does not work with the current jstize function. It seems that Gmail chokes on unescaped | (pipe) characters for a labelled line chart, prefering the URL-encoded version. If jstize is replaced with URI.escape, then the chart renders correctly in Gmail.

The discussion for 9b5cfb93aa51aae06611 makes it seem like this is intentional. However, URI.escape does not seem to break the display of any of the other example charts listed on http://googlecharts.rubyforge.org/

peterkovacs commented 14 years ago

Created a pull request in #28