|
|
@ -3,7 +3,7 @@
|
|
|
|
var nv = window.nv || {};
|
|
|
|
var nv = window.nv || {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nv.version = '1.1.6b';
|
|
|
|
nv.version = '1.1.7b';
|
|
|
|
nv.dev = true //set false when in production
|
|
|
|
nv.dev = true //set false when in production
|
|
|
|
|
|
|
|
|
|
|
|
window.nv = nv;
|
|
|
|
window.nv = nv;
|
|
|
@ -456,7 +456,7 @@ window.nv.tooltip.* also has various helper methods.
|
|
|
|
if (container.node() === null) {
|
|
|
|
if (container.node() === null) {
|
|
|
|
//Create new tooltip div if it doesn't exist on DOM.
|
|
|
|
//Create new tooltip div if it doesn't exist on DOM.
|
|
|
|
container = body.append("div")
|
|
|
|
container = body.append("div")
|
|
|
|
.attr("class", "nvtooltip with-3d-shadow " + (classes? classes: "xy-tooltip"))
|
|
|
|
.attr("class", "nvtooltip " + (classes? classes: "xy-tooltip"))
|
|
|
|
.attr("id",id)
|
|
|
|
.attr("id",id)
|
|
|
|
;
|
|
|
|
;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -609,7 +609,7 @@ window.nv.tooltip.* also has various helper methods.
|
|
|
|
|
|
|
|
|
|
|
|
//Create new tooltip div if it doesn't exist on DOM.
|
|
|
|
//Create new tooltip div if it doesn't exist on DOM.
|
|
|
|
var container = document.createElement('div');
|
|
|
|
var container = document.createElement('div');
|
|
|
|
container.className = 'nvtooltip with-3d-shadow ' + (classes ? classes : 'xy-tooltip');
|
|
|
|
container.className = 'nvtooltip ' + (classes ? classes : 'xy-tooltip');
|
|
|
|
|
|
|
|
|
|
|
|
var body = parentContainer;
|
|
|
|
var body = parentContainer;
|
|
|
|
if ( !parentContainer || parentContainer.tagName.match(/g|svg/i)) {
|
|
|
|
if ( !parentContainer || parentContainer.tagName.match(/g|svg/i)) {
|
|
|
|