Some changed on the vbar and hbar legends and tooltips and changed the windows carriage returns by its unix version
This commit is contained in:
parent
9adbae9c1a
commit
e79458bbcf
|
@ -488,8 +488,8 @@ $.fn.HUseTooltip = function () {
|
||||||
var y = item.datapoint[1];
|
var y = item.datapoint[1];
|
||||||
|
|
||||||
var color = item.series.color;
|
var color = item.series.color;
|
||||||
showTooltip(item.pageX,
|
showTooltip(pos.pageX,
|
||||||
item.pageY,
|
pos.pageY,
|
||||||
color,
|
color,
|
||||||
"<strong>" + x + "</strong>");
|
"<strong>" + x + "</strong>");
|
||||||
}
|
}
|
||||||
|
@ -514,8 +514,8 @@ $.fn.VUseTooltip = function () {
|
||||||
|
|
||||||
var color = item.series.color;
|
var color = item.series.color;
|
||||||
$('.legend_'+x).css("visibility","");
|
$('.legend_'+x).css("visibility","");
|
||||||
showTooltip(item.pageX,
|
showTooltip(pos.pageX,
|
||||||
item.pageY,
|
pos.pageY,
|
||||||
color,
|
color,
|
||||||
"<strong>" + $('.legend_'+x).text() + "</strong>" + " : <strong>" + y + "</strong>");
|
"<strong>" + $('.legend_'+x).text() + "</strong>" + " : <strong>" + y + "</strong>");
|
||||||
}
|
}
|
||||||
|
@ -531,8 +531,8 @@ function showTooltip(x, y, color, contents) {
|
||||||
$('<div id="tooltip">' + contents + '</div>').css({
|
$('<div id="tooltip">' + contents + '</div>').css({
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
display: 'none',
|
display: 'none',
|
||||||
top: y - 40,
|
top: y,
|
||||||
left: x - 120,
|
left: x,
|
||||||
border: '2px solid ' + color,
|
border: '2px solid ' + color,
|
||||||
padding: '3px',
|
padding: '3px',
|
||||||
'font-size': '9px',
|
'font-size': '9px',
|
||||||
|
|
Loading…
Reference in New Issue