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

Function render

libs/echarts/echarts-en.simple.js:28632–28648  ·  view source on GitHub ↗
(ecIns, ecModel, api, payload)

Source from the content-addressed store, hash-verified

28630}
28631
28632function render(ecIns, ecModel, api, payload) {
28633
28634 renderComponents(ecIns, ecModel, api, payload);
28635
28636 each(ecIns._chartsViews, function (chart) {
28637 chart.__alive = false;
28638 });
28639
28640 renderSeries(ecIns, ecModel, api, payload);
28641
28642 // Remove groups of unrendered charts
28643 each(ecIns._chartsViews, function (chart) {
28644 if (!chart.__alive) {
28645 chart.remove(ecModel, api);
28646 }
28647 });
28648}
28649
28650function renderComponents(ecIns, ecModel, api, payload, dirtyList) {
28651 each(dirtyList || ecIns._componentsViews, function (componentView) {

Callers 1

Calls 4

eachFunction · 0.85
renderComponentsFunction · 0.70
renderSeriesFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected