Mathieu Laurent
unread,Oct 16, 2009, 9:03:48 AM10/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jqplot-users
Hello,
It should be great to display the label of the serie in the tooltips
of the highlighter data points plugin.
Example :
var series = [
[3,2,1,1,3,3,2,1,2],
[4,4,6,11,13,13,15,15,15] ]
];
var options = {
series:[
{label:'serie name 1'},
{label:'serie name 2'}
],
highlighter: {
tooltipAxes: 'x',
formatString:'#serieLabel# - %s'
}
};
$.jqplot('chartdiv',series,options);
#serieLabel# w should be replace by the label of the serie.
Regards
Mathieu