Over the past few days I developed a script to use with charts to update their tooltip with additional data using the “Before Render Snippet” option on a chart
This was working and demo’d yesterday, however I came in this morning to a message from my boss saying none of the charts I modified are working.
I’m now getting this error “Uncaught TypeError: Cannot set property ‘formatter’ of undefined”
Inspecting the chart object I see the Tooltip node is no longer exposed, was this changed?
I also checked the installed package and I can see the following
“Modified By Skuid, 18/02/2015 02:02” so it looks like a new minor version of the package was pushed last night?
Below is a simpler version of my code that causes the same error:
var chart = arguments[0]<br>chart.tooltip.formatter = function(){<br> s = 'my test string';<br> return s;<br>}<br>
