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

Method adjust_rectangle

js/src/FastIntervalSelector.ts:211–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209 }
210
211 adjust_rectangle() {
212 if (this.model.get('orientation') == 'vertical') {
213 this.d3el.selectAll('rect').attr('x', 0).attr('width', this.width);
214 } else {
215 this.d3el.selectAll('rect').attr('y', 0).attr('height', this.height);
216 }
217 }
218
219 freeze_but_move: boolean;
220 freeze_dont_move: boolean;

Callers 1

relayoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected