MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / removeSector

Function removeSector

libs/echarts/echarts-en.simple.js:42561–42571  ·  view source on GitHub ↗
(dataIndex, animationModel, el)

Source from the content-addressed store, hash-verified

42559}
42560
42561function removeSector(dataIndex, animationModel, el) {
42562 // Not show text when animating
42563 el.style.text = null;
42564 updateProps(el, {
42565 shape: {
42566 r: el.shape.r0
42567 }
42568 }, animationModel, dataIndex, function () {
42569 el.parent && el.parent.remove(el);
42570 });
42571}
42572
42573var getLayout = {
42574 // itemModel is only used to get borderWidth, which is not needed

Callers 1

Calls 2

updatePropsFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected