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

Function key

js/filter.js:2373–2373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2371 const previous = OCA.Analytics.Filter.getChartOptionsSeriesRows(seriesTable);
2372 const oldItems = seriesTable._analyticsStyleItems || [];
2373 const key = item => JSON.stringify([item.groupKey, item.measureId, item.index]);
2374 const saved = new Map(oldItems.map((item, index) => [key(item), previous[index]]));
2375 const newItems = columnMapping && OCA.Analytics.Visualization.getChartSeriesItems(
2376 OCA.Analytics.currentReportData, dataModel, columnMapping);

Callers 1

filter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected