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

Method getId

src/data/SeriesData.ts:758–760  ·  view source on GitHub ↗

* @return Never null/undefined. `number` will be converted to string. Because: * In all cases having encountered at present, id is used in making diff comparison, which * are usually based on hash map. We can keep the rule that the internal id are always string * (treat `2` is the sam

(idx: number)

Source from the content-addressed store, hash-verified

756 * (treat `2` is the same as `'2'`) to make the related logic simple.
757 */
758 getId(idx: number): string {
759 return getId(this, this.getRawIndex(idx));
760 }
761
762 count(): number {
763 return this._store.count();

Callers

nothing calls this directly

Calls 1

getRawIndexMethod · 0.95

Tested by

no test coverage detected