(ignore_gui_update = false)
| 108 | } |
| 109 | |
| 110 | update_scale_domain(ignore_gui_update = false) { |
| 111 | // When the domain of the scale is updated, the domain of the scale |
| 112 | // for the selector must be expanded to account for the padding. |
| 113 | const xy = this.model.get('orientation') == 'vertical' ? 'y' : 'x'; |
| 114 | const initial_range = this.parent.padded_range(xy, this.scale.model); |
| 115 | const target_range = this.parent.range(xy); |
| 116 | this.scale.expandDomain(initial_range, target_range); |
| 117 | } |
| 118 | |
| 119 | set_range(array) { |
| 120 | const xy = this.model.get('orientation') == 'vertical' ? 'y' : 'x'; |
nothing calls this directly
no test coverage detected
searching dependent graphs…