()
| 457 | } |
| 458 | |
| 459 | relayout() { |
| 460 | super.relayout(); |
| 461 | |
| 462 | this.adjust_rectangle(); |
| 463 | this.d3el |
| 464 | .select('.background') |
| 465 | .attr('width', this.width) |
| 466 | .attr('height', this.height); |
| 467 | |
| 468 | this.set_range([this.scale]); |
| 469 | this.brush.extent([ |
| 470 | [0, 0], |
| 471 | [this.width, this.height], |
| 472 | ]); |
| 473 | this.syncModelToBrush(); |
| 474 | } |
| 475 | |
| 476 | private syncModelToBrush() { |
| 477 | // Move and redraw the brush selector, preventing move events to be triggered |
nothing calls this directly
no test coverage detected