In versions 1.7.1 and below (which I assume you're using), you can use chart.tooltipContent()
.
// If you want to change the tooltip format you could edit this function
chart.tooltipContent(function (key, x, y, e, graph) {
return '<h3>' + key + '</h3>' +
'<p>' + y + ' en ' + x + '</p>'
});
See this plunk for an example: http://plnkr.co/edit/YxZKDBqVWhtxryUSMwjk?p=preview
If you use 1.8.1, the same could be accomplished like this:
// If you want to change the tooltip format you could edit this function
chart.tooltip.contentGenerator(function (d) {
return '<h3>' + d.data.key + '</h3>' +
'<p>' + d.data.display.y + ' en ' + new Date(d.data.x).toLocaleDateString() + '</p>'
});
As shown in this plunk: http://plnkr.co/edit/ZYsjygDJkHSit50Rh3sZ?p=preview
' + y + ' on ' + x + '
'`. – JSBob Aug 10 '15 at 15:38