(selection)
| 278 | } |
| 279 | |
| 280 | fadeDeselectedArea (selection) { |
| 281 | if (this.hasFilter()) { |
| 282 | const chart = this; |
| 283 | this.selectAll(`g.${chart.BUBBLE_NODE_CLASS}`).each(function (d) { |
| 284 | if (chart.isSelectedNode(d)) { |
| 285 | chart.highlightSelected(this); |
| 286 | } else { |
| 287 | chart.fadeDeselected(this); |
| 288 | } |
| 289 | }); |
| 290 | } else { |
| 291 | const chart = this; |
| 292 | this.selectAll(`g.${chart.BUBBLE_NODE_CLASS}`).each(function () { |
| 293 | chart.resetHighlight(this); |
| 294 | }); |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | isSelectedNode (d) { |
| 299 | return this.hasFilter(d.key); |
nothing calls this directly
no test coverage detected