120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
showGraphTooltip(
this.tooltipInfo.ixElement,
this.tooltipInfo.posX,
this.tooltipInfo.posY);
}.bind(window),tooltipInfo.dwellTimeout);
}
else
tooltipInfo.ix = -1;
};
topObj.onmouseleave = function(e) {
/* Hide the tooltip if the mouse is outside the "timelineTableN" element,
** and outside the tooltip. */
if (tooltipObj.style.display != "none" &&
e.relatedTarget &&
e.relatedTarget != tooltipObj) {
tooltipObj.style.display = "none";
/* Clear the dwell timer. */
if (tooltipInfo.idTimer != 0) {
clearTimeout(tooltipInfo.idTimer);
tooltipInfo.idTimer = 0;
}
tooltipInfo.ix = -1;
}
};
var canvasDiv;
var railPitch;
var mergeOffset;
var node, arrow, arrowSmall, line, mArrow, mLine, wArrow, wLine;
|
|
|
|
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
showGraphTooltip(
this.tooltipInfo.ixElement,
this.tooltipInfo.posX,
this.tooltipInfo.posY);
}.bind(window),tooltipInfo.dwellTimeout);
}
else
tooltipInfo.ixElement = -1;
};
topObj.onmouseleave = function(e) {
/* Hide the tooltip if the mouse is outside the "timelineTableN" element,
** and outside the tooltip. */
if (tooltipObj.style.display != "none" &&
e.relatedTarget &&
e.relatedTarget != tooltipObj) {
tooltipObj.style.display = "none";
/* Clear the dwell timer. */
if (tooltipInfo.idTimer != 0) {
clearTimeout(tooltipInfo.idTimer);
tooltipInfo.idTimer = 0;
}
tooltipInfo.ixElement = -1;
}
};
var canvasDiv;
var railPitch;
var mergeOffset;
var node, arrow, arrowSmall, line, mArrow, mLine, wArrow, wLine;
|