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:
Alejandro Gallardo Escobar 2016-05-26 08:57:33 +02:00
parent 9adbae9c1a
commit e79458bbcf
1 changed files with 2281 additions and 2281 deletions

View File

@ -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',