J5KJ6IICQGBJPFG4DU4A4LNX3GRAMEP7JZBOEE75IHOPQLDSQ4KAC
UMEKGOSYZ25A6HEBRYGA6Z74MUBCAT2AQH7CJQAW2Z6KEJVPTFDQC
PPAE3Z3DP2IB4S5JXMC2FAHPDYEMUUNACP5HXGJ3QK3E5PKJTX3QC
OMSOKS2A7NLS4LX6J4ZW5BUKIN2P4YXI2Q7DAFY26AYIECZZEJMAC
ZB3JV52WEKVFX4XGSQUX6PCM4XGF62MCQRZAAOKNK4JNGYO2P7QAC
IK53RV4VGOHLCZGQCCIKPB45M3C7M7YMNBOJFBGZJ4LWIZNU4QNQC
U2X3Y53G6QFZFTINMADCGBGKZY3A4J4XNR2R2STUBDUOBIQW6YCAC
J5UVLXOK6EDIL5I7VKWH4V2QDS4DPD7FHRK6XBWSXFRQS4JKXFZQC
2P7VNAACFSXMH42JCXQZ7GDAAEIFDGDWJOK6XD6G36AGEYQSRO2AC
$("#" + id + "-chart").bind("plothover", function (event, pos, item) {
if (item) {
var i = data[item.dataIndex];
var date = new Date(i.timestamp * 1000);
var s =
"Build <em>" + i.id + "</em><br/>"
+ "on " + date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() + ""
+ ":<br/><strong>" + i.value
+ (i.unit != null ? " " + i.unit : "") + "</strong>";
$("#flot-tooltip")
.html(s)
.css({top: item.pageY + 10, left: item.pageX + 10})
.show();
} else
$("#flot-tooltip").hide();
});