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

Function makeClientLookupKey

src/coord/axisStatistics.ts:451–461  ·  view source on GitHub ↗

* NOTE: Currently, the scenario is simple enough to look up clients by hash map. * Otherwise, a caller-provided `filter` may be an alternative if more complex requirements arise.

(
    seriesType: ComponentSubType,
    isBaseAxis: boolean | NullUndefined,
    coordSysType: CoordinateSystem['type'] | NullUndefined
)

Source from the content-addressed store, hash-verified

449 * Otherwise, a caller-provided `filter` may be an alternative if more complex requirements arise.
450 */
451function makeClientLookupKey(
452 seriesType: ComponentSubType,
453 isBaseAxis: boolean | NullUndefined,
454 coordSysType: CoordinateSystem['type'] | NullUndefined
455): ClientLookupKey {
456 return (
457 seriesType
458 + AXIS_STAT_KEY_DELIMITER + retrieve2(isBaseAxis, true)
459 + AXIS_STAT_KEY_DELIMITER + (coordSysType || '')
460 ) as ClientLookupKey;
461}
462
463/**
464 * NOTICE: Can only be called in "install" stage.

Callers 2

associateSeriesWithAxisFunction · 0.85
requireAxisStatisticsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…