MCPcopy Create free account
hub / github.com/Rello/analytics / readMapping

Function readMapping

js/filter.js:2498–2505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2496 columns.forEach(column => category.add(new Option(column.label, chartOptions.encodeColumnId(column.id))));
2497
2498 function readMapping() {
2499 if (!mapping.measures.length) return false;
2500 return automatic ? null : {
2501 category: mapping.category,
2502 series: dataModel === 'kpiModel' ? [...mapping.series] : [],
2503 measures: [...mapping.measures],
2504 };
2505 }
2506
2507 function renderSelections(target, role) {
2508 target.replaceChildren();

Callers 2

changedFunction · 0.85
filter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected