MCPcopy
hub / github.com/palantir/plottable / anchor

Method anchor

src/plots/plot.ts:183–190  ·  view source on GitHub ↗
(selection: d3.Selection<HTMLElement, any, any, any>)

Source from the content-addressed store, hash-verified

181 }
182
183 public anchor(selection: d3.Selection<HTMLElement, any, any, any>) {
184 selection = coerceExternalD3(selection);
185 super.anchor(selection);
186 this._dataChanged = true;
187 this._resetEntityStore();
188 this._updateExtents();
189 return this;
190 }
191
192 protected _setup() {
193 if (this._isSetup) {

Calls 2

_updateExtentsMethod · 0.95
coerceExternalD3Function · 0.90

Tested by

no test coverage detected