MCPcopy Create free account
hub / github.com/bqplot/bqplot / relayout

Method relayout

js/src/IndexSelector.ts:160–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 relayout() {
161 super.relayout();
162 this.line.attr('y1', 0).attr('y2', this.height);
163 this.background.attr('width', this.width).attr('height', this.height);
164 this.set_range([this.scale]);
165 }
166
167 set_range(array: (LinearScale | OrdinalScale)[]) {
168 for (let iter = 0; iter < array.length; iter++) {

Callers

nothing calls this directly

Calls 1

set_rangeMethod · 0.95

Tested by

no test coverage detected