()
| 378 | } |
| 379 | |
| 380 | reset_selection() { |
| 381 | this.model.set('selected', []); |
| 382 | this.touch(); |
| 383 | this.highlight_g.selectAll('.selected').remove(); |
| 384 | d3.select(this.d3el.node().parentNode as Element) |
| 385 | .selectAll('path') |
| 386 | .classed('selected', false); |
| 387 | d3.select(this.d3el.node().parentNode as Element) |
| 388 | .selectAll('path') |
| 389 | .classed('hovered', false); |
| 390 | |
| 391 | this.stroke_g.selectAll('path').style('stroke', (d, i) => { |
| 392 | return this.hoverfill(d, i); |
| 393 | }); |
| 394 | this.fill_g |
| 395 | .selectAll('path') |
| 396 | .classed('selected', false) |
| 397 | .style('fill', (d, i) => { |
| 398 | return this.fill_g_colorfill(d, i); |
| 399 | }); |
| 400 | } |
| 401 | |
| 402 | change_stroke_color() { |
| 403 | this.stroke_g |
nothing calls this directly
no test coverage detected