发布于 2014-08-12 23:05:38
您可以通过调用工具提示函数来调用(并个性化)工具提示,如下所示:
chart.tooltip(function (key, x, y, e, graph) {
return '<p><strong>' + key + '</strong></p>' +
'<p>' + y + ' in the month ' + x + '</p>';
});
在您的示例中,可以在返回图表之前插入;行。
https://stackoverflow.com/questions/24393046
复制