Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
parse
Method · 0.80
Calls
2
_getOrCreateMap
Method · 0.95
get
Method · 0.45
Tested by
no test coverage detected