Mathieu Laurent
chưa đọc,09:03:48 16 thg 10, 200916/10/09Hãy đăng nhập để trả lời tác giả
Hãy đăng nhập để chuyển tiếp
Bạn không có quyền xóa bài viết trong nhóm này
Địa chỉ email được ẩn danh với nhóm này hoặc bạn cần có quyền xem địa chỉ email của thành viên để có thể xem được bài viết gốc
đến 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