MCPcopy Index your code
hub / github.com/bqplot/bqplot / render

Method render

js/src/Axis.ts:53–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 9

set_scale_promiseMethod · 0.95
get_offset_promiseMethod · 0.95
create_listenersMethod · 0.95
create_axisMethod · 0.95
set_scales_rangeMethod · 0.95
update_scalesMethod · 0.95
set_tick_valuesMethod · 0.95
tickformat_changedMethod · 0.95
append_axisMethod · 0.95

Tested by

no test coverage detected