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

Function createGalleryCharts

examples/js/example.js:97–108  ·  view source on GitHub ↗
(examples)

Source from the content-addressed store, hash-verified

95
96
97function createGalleryCharts(examples) {
98 var chartsDiv = $("<div class='box-body'></div>");
99 var len = (examples && examples.length) ? examples.length : 0;
100 for (var i = 0; i < len; i++) {
101 var exam = examples[i];
102 if (window.isLocal && exam.localIgnore) {
103 continue;
104 }
105 createGalleryChart(exam).appendTo(chartsDiv);
106 }
107 return chartsDiv;
108}
109
110function createGalleryChart(example) {
111 var target = "editor.html",

Callers 1

createSubGalleryItemFunction · 0.85

Calls 3

appendToMethod · 0.80
createGalleryChartFunction · 0.70
$Function · 0.50

Tested by

no test coverage detected