MCPcopy Create free account
hub / github.com/microsoft/SandDance / getSpecColumnsWithFilteredStats

Method getSpecColumnsWithFilteredStats

docs/app/js/sanddance-app.js:9474–9496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9472 });
9473 }
9474 getSpecColumnsWithFilteredStats() {
9475 if (!this._dataScope.hasFilteredData()) return this._specColumns;
9476 const roles = [
9477 "color",
9478 "facet",
9479 "group",
9480 "size",
9481 "sort",
9482 "sum",
9483 "x",
9484 "y",
9485 "z"
9486 ];
9487 const specColumns = Object.assign({}, this._specColumns);
9488 roles.forEach((r)=>{
9489 if (specColumns[r]) {
9490 const column = Object.assign({}, specColumns[r]);
9491 column.stats = this.getColumnStats(column);
9492 specColumns[r] = column;
9493 }
9494 });
9495 return specColumns;
9496 }
9497 renderNewLayout(signalValues, presenterConfig, view) {
9498 return __awaiter(this, void 0, void 0, function*() {
9499 const currData = this._dataScope.currentData();

Callers 1

renderNewLayoutMethod · 0.95

Calls 3

getColumnStatsMethod · 0.95
hasFilteredDataMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected