MCPcopy Create free account
hub / github.com/apache/echarts / updateMandatoryProps

Function updateMandatoryProps

src/component/axisPointer/BaseAxisPointer.ts:563–578  ·  view source on GitHub ↗
(
    group: Element,
    axisPointerModel: AxisPointerModel,
    silent?: boolean
)

Source from the content-addressed store, hash-verified

561}
562
563function updateMandatoryProps(
564 group: Element,
565 axisPointerModel: AxisPointerModel,
566 silent?: boolean
567) {
568 const z = axisPointerModel.get('z');
569 const zlevel = axisPointerModel.get('zlevel');
570
571 group && group.traverse(function (el: Displayable) {
572 if (el.type !== 'group') {
573 z != null && (el.z = z);
574 zlevel != null && (el.zlevel = zlevel);
575 el.silent = silent;
576 }
577 });
578}
579
580export default BaseAxisPointer;

Callers 2

renderMethod · 0.85
_renderHandleMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected