I am using Jquery Sparkline plugin to draw line graphs on my website, it's working fine but I want to edit its tooltip. I read whole tooltip documentation available in their official website but no positive results.
Here is my code:
$(".sparkline").each(function () {
var $this = $(this);
$this.sparkline('html', $this.data(), {
type: "line",
tooltipSuffix: " Tweets : "
});
});
I am plotting No of tweets vs Hour graph, so I just want to display "x Tweets at y Hrs", can anyone help me out with that..?