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

Method domain

src/scales/scale.ts:134–142  ·  view source on GitHub ↗
(values?: D[])

Source from the content-addressed store, hash-verified

132 */
133 public domain(values: D[]): this;
134 public domain(values?: D[]): any {
135 if (values == null) {
136 return this._getDomain();
137 } else {
138 this._autoDomainAutomatically = false;
139 this._setDomain(values);
140 return this;
141 }
142 }
143
144 protected _getDomain(): D[] {
145 throw new Error("Subclasses should override _getDomain");

Callers 15

ticksMethod · 0.95
memThunkTests.tsFile · 0.45
signatureTests.tsFile · 0.45
memoizeTests.tsFile · 0.45
domainAfterPanFunction · 0.45
domainAfterPinchFunction · 0.45
domainAfterWheelFunction · 0.45
assertBasicRenderingFunction · 0.45

Calls 2

_getDomainMethod · 0.95
_setDomainMethod · 0.95

Tested by

no test coverage detected