mirror of https://github.com/vitalif/dimple
parent
cb27409710
commit
b25f25d61c
|
@ -353,7 +353,7 @@
|
||||||
t = chart._tooltipGroup.append("g");
|
t = chart._tooltipGroup.append("g");
|
||||||
// Create a box for the popup in the text group
|
// Create a box for the popup in the text group
|
||||||
box = t.append("rect")
|
box = t.append("rect")
|
||||||
.attr("class", "tooltip");
|
.attr("class", "chartTooltip");
|
||||||
|
|
||||||
// Add the series categories
|
// Add the series categories
|
||||||
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
|
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
|
// Create a text object for every row in the popup
|
||||||
t.selectAll(".textHoverShapes").data(rows).enter()
|
t.selectAll(".textHoverShapes").data(rows).enter()
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("class", "tooltip")
|
.attr("class", "chartTooltip")
|
||||||
.text(function (d) { return d; })
|
.text(function (d) { return d; })
|
||||||
.style("font-family", "sans-serif")
|
.style("font-family", "sans-serif")
|
||||||
.style("font-size", "10px");
|
.style("font-size", "10px");
|
||||||
|
|
|
@ -184,7 +184,7 @@
|
||||||
t = chart._tooltipGroup.append("g");
|
t = chart._tooltipGroup.append("g");
|
||||||
// Create a box for the popup in the text group
|
// Create a box for the popup in the text group
|
||||||
box = t.append("rect")
|
box = t.append("rect")
|
||||||
.attr("class", "tooltip");
|
.attr("class", "chartTooltip");
|
||||||
|
|
||||||
// Add the series categories
|
// Add the series categories
|
||||||
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
|
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
|
// Create a text object for every row in the popup
|
||||||
t.selectAll(".textHoverShapes").data(rows).enter()
|
t.selectAll(".textHoverShapes").data(rows).enter()
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("class", "tooltip")
|
.attr("class", "chartTooltip")
|
||||||
.text(function (d) { return d; })
|
.text(function (d) { return d; })
|
||||||
.style("font-family", "sans-serif")
|
.style("font-family", "sans-serif")
|
||||||
.style("font-size", "10px");
|
.style("font-size", "10px");
|
||||||
|
|
|
@ -203,7 +203,7 @@
|
||||||
t = chart._tooltipGroup.append("g");
|
t = chart._tooltipGroup.append("g");
|
||||||
// Create a box for the popup in the text group
|
// Create a box for the popup in the text group
|
||||||
box = t.append("rect")
|
box = t.append("rect")
|
||||||
.attr("class", "tooltip");
|
.attr("class", "chartTooltip");
|
||||||
|
|
||||||
// Add the series categories
|
// Add the series categories
|
||||||
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
|
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
|
// Create a text object for every row in the popup
|
||||||
t.selectAll(".textHoverShapes").data(rows).enter()
|
t.selectAll(".textHoverShapes").data(rows).enter()
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("class", "tooltip")
|
.attr("class", "chartTooltip")
|
||||||
.text(function (d) { return d; })
|
.text(function (d) { return d; })
|
||||||
.style("font-family", "sans-serif")
|
.style("font-family", "sans-serif")
|
||||||
.style("font-size", "10px");
|
.style("font-size", "10px");
|
||||||
|
|
|
@ -334,7 +334,7 @@
|
||||||
t = chart._tooltipGroup.append("g");
|
t = chart._tooltipGroup.append("g");
|
||||||
// Create a box for the popup in the text group
|
// Create a box for the popup in the text group
|
||||||
box = t.append("rect")
|
box = t.append("rect")
|
||||||
.attr("class", "tooltip");
|
.attr("class", "chartTooltip");
|
||||||
|
|
||||||
// Add the series categories
|
// Add the series categories
|
||||||
if (series.categoryFields !== null && series.categoryFields !== undefined && series.categoryFields.length > 0) {
|
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
|
// Create a text object for every row in the popup
|
||||||
t.selectAll(".textHoverShapes").data(rows).enter()
|
t.selectAll(".textHoverShapes").data(rows).enter()
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("class", "tooltip")
|
.attr("class", "chartTooltip")
|
||||||
.text(function (d) { return d; })
|
.text(function (d) { return d; })
|
||||||
.style("font-family", "sans-serif")
|
.style("font-family", "sans-serif")
|
||||||
.style("font-size", "10px");
|
.style("font-size", "10px");
|
||||||
|
|
Loading…
Reference in New Issue