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

Function eachPath

src/chart/bar/PictorialBarView.ts:853–862  ·  view source on GitHub ↗
(
    bar: PictorialBarElement,
    cb: (this: Ctx, el: PictorialSymbol) => void,
    context?: Ctx
)

Source from the content-addressed store, hash-verified

851}
852
853function eachPath<Ctx>(
854 bar: PictorialBarElement,
855 cb: (this: Ctx, el: PictorialSymbol) => void,
856 context?: Ctx
857) {
858 // Do not use Group#eachChild, because it do not support remove.
859 zrUtil.each(bar.__pictorialBundle.children(), function (el) {
860 el !== bar.__pictorialBarRect && cb.call(context, el);
861 });
862}
863
864function updateAttr<T extends Element>(
865 el: T,

Callers 3

removeBarFunction · 0.85
updateCommonFunction · 0.85

Calls 1

eachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…