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 color = item.series.color;
showTooltip(item.pageX,
item.pageY,
showTooltip(pos.pageX,
pos.pageY,
color,
"<strong>" + x + "</strong>");
}
@ -514,8 +514,8 @@ $.fn.VUseTooltip = function () {
var color = item.series.color;
$('.legend_'+x).css("visibility","");
showTooltip(item.pageX,
item.pageY,
showTooltip(pos.pageX,
pos.pageY,
color,
"<strong>" + $('.legend_'+x).text() + "</strong>" + " : <strong>" + y + "</strong>");
}
@ -531,8 +531,8 @@ function showTooltip(x, y, color, contents) {
$('<div id="tooltip">' + contents + '</div>').css({
position: 'absolute',
display: 'none',
top: y - 40,
left: x - 120,
top: y,
left: x,
border: '2px solid ' + color,
padding: '3px',
'font-size': '9px',