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

Function removeChildFromGroup

src/chart/custom/CustomView.ts:1417–1430  ·  view source on GitHub ↗
(
    group: graphicUtil.Group,
    child: Element,
    seriesModel: SeriesModel
)

Source from the content-addressed store, hash-verified

1415}
1416
1417function removeChildFromGroup(
1418 group: graphicUtil.Group,
1419 child: Element,
1420 seriesModel: SeriesModel
1421) {
1422 // Do not support leave elements that are not mentioned in the latest
1423 // `renderItem` return. Otherwise users may not have a clear and simple
1424 // concept that how to control all of the elements.
1425 child && applyLeaveTransition(
1426 child,
1427 customInnerStore(group).option,
1428 seriesModel
1429 );
1430}
1431
1432type DiffGroupContext = {
1433 api: ExtensionAPI;

Callers 1

mergeChildrenFunction · 0.85

Calls 1

applyLeaveTransitionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…