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

Method scale

src/scales/scale.ts:108–110  ·  view source on GitHub ↗

* Computes the range value corresponding to a given domain value. * * @param {D} value * @returns {R} The range value corresponding to the supplied domain value.

(value: D)

Source from the content-addressed store, hash-verified

106 * @returns {R} The range value corresponding to the supplied domain value.
107 */
108 public scale(value: D): R {
109 throw new Error("Subclasses should override scale");
110 }
111
112 /**
113 * Gets an array of tick values spanning the domain.

Callers 15

memThunkTests.tsFile · 0.45
assertBasicRenderingFunction · 0.45
gridlinesTests.tsFile · 0.45
plotGroupTests.tsFile · 0.45
legendTests.tsFile · 0.45
axisTests.tsFile · 0.45
linePlotTests.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected