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

Method set_positional_scales

js/src/Lines.ts:67–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 set_positional_scales(): void {
68 const xScale = this.scales.x,
69 yScale = this.scales.y;
70 this.listenTo(xScale, 'domain_changed', function () {
71 if (!this.model.dirty) {
72 this.update_line_xy();
73 }
74 });
75 this.listenTo(yScale, 'domain_changed', function () {
76 if (!this.model.dirty) {
77 this.update_line_xy();
78 }
79 });
80 }
81
82 initialize_additional_scales(): void {
83 const colorScale = this.scales.color;

Callers

nothing calls this directly

Calls 1

update_line_xyMethod · 0.95

Tested by

no test coverage detected