()
| 51 | } |
| 52 | |
| 53 | async render() { |
| 54 | this.d3el.style('display', this.model.get('visible') ? 'inline' : 'none'); |
| 55 | this.parent = this.options.parent; |
| 56 | |
| 57 | const scale_promise = this.set_scale_promise(this.model.get('scale')); |
| 58 | const offset_promise = this.get_offset_promise(); |
| 59 | |
| 60 | return await Promise.all([scale_promise, offset_promise]).then(() => { |
| 61 | this.create_listeners(); |
| 62 | this.create_axis(); |
| 63 | this.set_scales_range(); |
| 64 | this.update_scales(); |
| 65 | this.set_tick_values(); |
| 66 | this.tickformat_changed(); |
| 67 | this.append_axis(); |
| 68 | }); |
| 69 | } |
| 70 | create_listeners() { |
| 71 | // Creates all event listeners |
| 72 |
nothing calls this directly
no test coverage detected