Change tooltip class

Changed to .chartTooltip to avoid bootstrap conflicts
master
johnkiernander 2014-04-02 19:47:33 +01:00
parent cb27409710
commit b25f25d61c
4 changed files with 8 additions and 8 deletions

View File

@ -353,7 +353,7 @@
t = chart._tooltipGroup.append("g");
// Create a box for the popup in the text group
box = t.append("rect")
.attr("class", "tooltip");
.attr("class", "chartTooltip");
// Add the series categories
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
@ -424,7 +424,7 @@
// Create a text object for every row in the popup
t.selectAll(".textHoverShapes").data(rows).enter()
.append("text")
.attr("class", "tooltip")
.attr("class", "chartTooltip")
.text(function (d) { return d; })
.style("font-family", "sans-serif")
.style("font-size", "10px");

View File

@ -184,7 +184,7 @@
t = chart._tooltipGroup.append("g");
// Create a box for the popup in the text group
box = t.append("rect")
.attr("class", "tooltip");
.attr("class", "chartTooltip");
// Add the series categories
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
@ -255,7 +255,7 @@
// Create a text object for every row in the popup
t.selectAll(".textHoverShapes").data(rows).enter()
.append("text")
.attr("class", "tooltip")
.attr("class", "chartTooltip")
.text(function (d) { return d; })
.style("font-family", "sans-serif")
.style("font-size", "10px");

View File

@ -203,7 +203,7 @@
t = chart._tooltipGroup.append("g");
// Create a box for the popup in the text group
box = t.append("rect")
.attr("class", "tooltip");
.attr("class", "chartTooltip");
// Add the series categories
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
@ -274,7 +274,7 @@
// Create a text object for every row in the popup
t.selectAll(".textHoverShapes").data(rows).enter()
.append("text")
.attr("class", "tooltip")
.attr("class", "chartTooltip")
.text(function (d) { return d; })
.style("font-family", "sans-serif")
.style("font-size", "10px");

View File

@ -334,7 +334,7 @@
t = chart._tooltipGroup.append("g");
// Create a box for the popup in the text group
box = t.append("rect")
.attr("class", "tooltip");
.attr("class", "chartTooltip");
// Add the series categories
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
@ -405,7 +405,7 @@
// Create a text object for every row in the popup
t.selectAll(".textHoverShapes").data(rows).enter()
.append("text")
.attr("class", "tooltip")
.attr("class", "chartTooltip")
.text(function (d) { return d; })
.style("font-family", "sans-serif")
.style("font-size", "10px");