()
| 66 | } |
| 67 | |
| 68 | set_positional_scales() { |
| 69 | const x_scale = this.scales.x, |
| 70 | y_scale = this.scales.y; |
| 71 | this.listenTo(x_scale, 'domain_changed', function () { |
| 72 | if (!this.model.dirty) { |
| 73 | this.draw(); |
| 74 | } |
| 75 | }); |
| 76 | this.listenTo(y_scale, 'domain_changed', function () { |
| 77 | if (!this.model.dirty) { |
| 78 | this.draw(); |
| 79 | } |
| 80 | }); |
| 81 | } |
| 82 | |
| 83 | set_ranges() { |
| 84 | const x_scale = this.scales.x, |