I’ll ask “the Charts man” (J Tingle) to follow up with more details here, but my understanding is that with this point release, Skuid’s default tooltip formatting settings for charts were moved into the plotOptions property for each Chart type (e.g. chartObj.plotOptions.funnel.tooltip) and into Series-specific tooltip properties (e.g. chartObj.seriesb0].tooltip), as appropriate for settings which should be global to the chart type (such as the pointFormatter for the Funnel chart) and settings which should be series-specific, since each series points can be on different fields (such as the number of decimals, prefix, and suffix, which will be different from field to field) This would account for the tooltip property having disappeared from the chart object in your before render snippet.
That being said, you should still be able to set a global tooltip property, but to future-proof yourself from any changes Skuid may make to our default Chart configurations for a particular Chart type, I would highly recommend that you always check to see if a given property, such as tooltip, is defined before assigning properties to it, like this:
var chart = arguments=0];<br><b>// Override the tooltip globally, for all series<br></b><b>// First, make sure tooltip has been defined,<br></b><b>// and if not, define it<br></b><b>var tooltip = chart.tooltip;<br></b><b>if (!tooltip) tooltip = chart.tooltip = {};</b><br>tooltip.formatter = function(){<br> s = 'my test string';<br> return s;<br>};
Charts man, here! Zach got the solution: chart.tooltip isn’t defined. Previously, chart.tooltip was always defined, even if it was empty, so the snippet worked. With this latest release, we only define it when it’s being used (no use in sending extra chart configuration off to the charting library). Does this get you back up and running?
Thanks, will have a look at this now.
Yep, back up and running with that solution, appreciate the quick turnaround on a response.