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

Method set_range

js/src/IndexSelector.ts:167–171  ·  view source on GitHub ↗
(array: (LinearScale | OrdinalScale)[])

Source from the content-addressed store, hash-verified

165 }
166
167 set_range(array: (LinearScale | OrdinalScale)[]) {
168 for (let iter = 0; iter < array.length; iter++) {
169 array[iter].setRange([0, this.width]);
170 }
171 }
172
173 active: boolean;
174 dirty: boolean;

Callers 5

relayoutMethod · 0.95
relayoutMethod · 0.80
relayoutMethod · 0.80
relayoutMethod · 0.80
create_scalesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected