MCPcopy Index your code
hub / github.com/apache/echarts / scale

Method scale

src/scale/Ordinal.ts:193–195  ·  view source on GitHub ↗
(this: OrdinalScale, val: number)

Source from the content-addressed store, hash-verified

191 },
192
193 scale(this: OrdinalScale, val: number): OrdinalNumber {
194 return this.getRawOrdinalNumber(mathRound(this._mapper.scale(val)));
195 },
196
197 transformIn(val, opt) {
198 return this._mapper.transformIn(this._getTickNumber(val), opt);

Callers

nothing calls this directly

Calls 1

getRawOrdinalNumberMethod · 0.95

Tested by

no test coverage detected