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

Method getOrdinal

src/data/OrdinalMeta.ts:91–93  ·  view source on GitHub ↗
(category: OrdinalRawValue)

Source from the content-addressed store, hash-verified

89 };
90
91 getOrdinal(category: OrdinalRawValue): OrdinalNumber {
92 return this._getOrCreateMap().get(category);
93 }
94
95 /**
96 * @return The ordinal. If not found, return NaN.

Callers 1

parseMethod · 0.80

Calls 2

_getOrCreateMapMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected