I am using nvd3 Scatter Chart and I see that the tooltip content can be customized using the following function.
chart.tooltipContent(function (key, x, y, e, graph) {
return '<p><strong>' + key + '</strong></p>' +
'<p>' + e.value + ' in the month ' + x + '</p>';
});
When the mouse moves over the bubble, the custom tooltip content and the x-value and y-value of the point/bubble are highlighted/shown. Instead of displaying the x-axis label, I want to display custom content. How can I do this?
Thanks,