MCPcopy
hub / github.com/apache/echarts / initDataTables

Function initDataTables

test/lib/testHelper.js:2996–3008  ·  view source on GitHub ↗
(opt, dataTableContainer)

Source from the content-addressed store, hash-verified

2994 };
2995
2996 function initDataTables(opt, dataTableContainer) {
2997 var dataTables = opt.dataTables;
2998 if (!dataTables && opt.dataTable) {
2999 dataTables = [opt.dataTable];
3000 }
3001 if (dataTables) {
3002 var tableHTML = [];
3003 for (var i = 0; i < dataTables.length; i++) {
3004 tableHTML.push(createDataTableHTML(dataTables[i], opt));
3005 }
3006 dataTableContainer.innerHTML = tableHTML.join('');
3007 }
3008 }
3009
3010 function createDataTableHTML(data, opt) {
3011 var sourceFormat = detectSourceFormat(data);

Callers 1

testHelper.jsFile · 0.85

Calls 1

createDataTableHTMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…