()
| 108 | } |
| 109 | |
| 110 | set_positional_scales() { |
| 111 | this.listenTo( |
| 112 | this.scales.x || this.parent.scale_x, |
| 113 | 'domain_changed', |
| 114 | function () { |
| 115 | if (!this.model.dirty) { |
| 116 | this.updatePosition(); |
| 117 | } |
| 118 | } |
| 119 | ); |
| 120 | this.listenTo( |
| 121 | this.scales.y || this.parent.scale_y, |
| 122 | 'domain_changed', |
| 123 | function () { |
| 124 | if (!this.model.dirty) { |
| 125 | this.updatePosition(); |
| 126 | } |
| 127 | } |
| 128 | ); |
| 129 | } |
| 130 | |
| 131 | relayout() { |
| 132 | this.updatePosition(); |
nothing calls this directly
no test coverage detected