MCPcopy
hub / github.com/apache/echarts / guessOrdinal

Function guessOrdinal

src/data/helper/sourceHelper.ts:341–350  ·  view source on GitHub ↗
(source: Source, dimIndex: DimensionIndex)

Source from the content-addressed store, hash-verified

339 * The code is ugly, but how to make it neat?
340 */
341export function guessOrdinal(source: Source, dimIndex: DimensionIndex): BeOrdinalValue {
342 return doGuessOrdinal(
343 source.data,
344 source.sourceFormat,
345 source.seriesLayoutBy,
346 source.dimensionsDefine,
347 source.startIndex,
348 dimIndex
349 );
350}
351
352// dimIndex may be overflow source data.
353// return {BE_ORDINAL}

Callers 2

constructorMethod · 0.90
prepareSeriesDataSchemaFunction · 0.90

Calls 1

doGuessOrdinalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…