MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / updateZ

Function updateZ

libs/echarts/echarts-en.simple.js:28909–28919  ·  view source on GitHub ↗

* @param {module:echarts/model/Series|module:echarts/model/Component} model * @param {module:echarts/view/Component|module:echarts/view/Chart} view

(model, view)

Source from the content-addressed store, hash-verified

28907 * @param {module:echarts/view/Component|module:echarts/view/Chart} view
28908 */
28909function updateZ(model, view) {
28910 var z = model.get('z');
28911 var zlevel = model.get('zlevel');
28912 // Set z and zlevel
28913 view.group.traverse(function (el) {
28914 if (el.type !== 'group') {
28915 z != null && (el.z = z);
28916 zlevel != null && (el.zlevel = zlevel);
28917 }
28918 });
28919}
28920
28921function createExtensionAPI(ecInstance) {
28922 var coordSysMgr = ecInstance._coordSysMgr;

Callers 2

renderComponentsFunction · 0.70
renderSeriesFunction · 0.70

Calls 2

traverseMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected