|
271 | 271 | "stroke-width": "2px",
|
272 | 272 | "fill": "none"}
|
273 | 273 |
|
274 |
| - var linkHighlight = {"stroke": "blue", |
| 274 | + var linkHighlight = {"stroke": "#1659F5", |
275 | 275 | "stroke-width": "4px",
|
276 | 276 | "fill": "none"}
|
277 | 277 |
|
|
544 | 544 |
|
545 | 545 | })
|
546 | 546 | d3.selectAll("." + d.group).attr("fill", color.group[d.group])
|
547 |
| - d3.selectAll("text." + d.abrev) .attr({"fill": "blue"}); |
548 |
| - gRankTeams.selectAll("#" + d.abrev).attr('stroke', 'blue') |
549 |
| - gMapBubble.selectAll("#" + d.abrev).attr('fill', 'blue') |
| 547 | + d3.selectAll("text." + d.abrev) .attr({"fill": "#1659F5"}); |
| 548 | + gRankTeams.selectAll("#" + d.abrev).attr('stroke', '#1659F5') |
| 549 | + gMapBubble.selectAll("#" + d.abrev).attr('fill', '#1659F5') |
550 | 550 | })
|
551 | 551 | .on("mouseout", function(d){
|
552 | 552 | d.nodes.forEach(function (d, i) {
|
|
667 | 667 | d.probability = d.nodes[i].probability
|
668 | 668 | d3.selectAll("." + d.group + "#" + d.node).attr("fill", color.group[d.group])
|
669 | 669 | gBarTeams.selectAll("." + d.group).attr("fill", color.group[d.group])
|
670 |
| - d3.selectAll("text#" + d.abrev + d.node) .attr("fill", "blue"); |
671 |
| - d3.selectAll("text#" + d.abrev) .attr("fill", "blue"); |
672 |
| - gRankTeams.selectAll("#" + d.abrev).attr('stroke', 'blue') |
673 |
| - gMapBubble.selectAll("#" + d.abrev).attr('fill', 'blue') |
| 670 | + d3.selectAll("text#" + d.abrev + d.node) .attr("fill", "#1659F5"); |
| 671 | + d3.selectAll("text#" + d.abrev) .attr("fill", "#1659F5"); |
| 672 | + gRankTeams.selectAll("#" + d.abrev).attr('stroke', '#1659F5') |
| 673 | + gMapBubble.selectAll("#" + d.abrev).attr('fill', '#1659F5') |
674 | 674 | return parseFloat(d.probability*100).toFixed(1) + '%';
|
675 | 675 | }
|
676 | 676 | }
|
|
753 | 753 | edge.attr(linkHighlight)
|
754 | 754 | })
|
755 | 755 | d3.selectAll("." + d.group).attr("fill", color.group[d.group])
|
756 |
| - d3.selectAll("text." + d.abrev) .attr({"fill": "blue"}); |
757 |
| - gRankTeams.selectAll("#" + d.abrev).attr('stroke', 'blue') |
758 |
| - gMapBubble.selectAll("#" + d.abrev).attr('fill', 'blue') |
| 756 | + d3.selectAll("text." + d.abrev) .attr({"fill": "#1659F5"}); |
| 757 | + gRankTeams.selectAll("#" + d.abrev).attr('stroke', '#1659F5') |
| 758 | + gMapBubble.selectAll("#" + d.abrev).attr('fill', '#1659F5') |
759 | 759 | })
|
760 | 760 | .on("mouseout", function(d){
|
761 | 761 | d.nodes.forEach(function (d, i) {
|
|
995 | 995 | edge.attr(linkHighlight)
|
996 | 996 | })
|
997 | 997 | d3.selectAll("." + d.group).attr("fill", color.group[d.group])
|
998 |
| - d3.selectAll("text." + d.abrev) .attr({"fill": "blue"}); |
999 |
| - gRankTeams.selectAll("#" + d.abrev).attr('stroke', 'blue') |
1000 |
| - gMapBubble.selectAll("#" + d.abrev).attr('fill', 'blue') |
| 998 | + d3.selectAll("text." + d.abrev) .attr({"fill": "#1659F5"}); |
| 999 | + gRankTeams.selectAll("#" + d.abrev).attr('stroke', '#1659F5') |
| 1000 | + gMapBubble.selectAll("#" + d.abrev).attr('fill', '#1659F5') |
1001 | 1001 | })
|
1002 | 1002 | .on("mouseout", function(d){
|
1003 | 1003 | d.nodes.forEach(function (d, i) {
|
|
0 commit comments