(
bar: PictorialBarElement,
cb: (this: Ctx, el: PictorialSymbol) => void,
context?: Ctx
)
| 851 | } |
| 852 | |
| 853 | function 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 | |
| 864 | function updateAttr<T extends Element>( |
| 865 | el: T, |
no test coverage detected
searching dependent graphs…