winston/google_visualr — pull request #74 by golsombe (2014-06-13 13:22:15+00:00)
Title: adding support for embedded functions inside the google visualization

I needed a new function inside the draw_chart() function to support custom tooltips for the TreeMap chart. Added a new add_function method along with additional spec for testing. Please advise?

Ex: @chart.add_function(" function showTooltip(row, size, value) {
return '

' +
'' + data_table.getValue(row, 1) + '<\b>

'; }")