Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2515
How to override default tooltip format using tooltipShowing event for igDataChart
posted

I am trying to use the tooltipShowingevent to override the tooltip displayed when the mouse hovers over a chart column. A valid HTML string is returned to tooltip from GetChartTooltip (a function I created), however, the column tooltip is still the default tooltip defined within Infragistics rather than my modified tooltip. How can I get my custom tooltip to be displayed?

tooltipShowing: function (evt, ui) {
// Programmatically set the tooltip
var tooltip = GetChartTooltip(ui);
if (tooltip != '') {
ui.element.tooltip().text(tooltip);
}
}