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

Method getAggregation

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

Source from the content-addressed store, hash-verified

3961 return trans;
3962 }
3963 getAggregation() {
3964 const { props } = this;
3965 let s;
3966 if (props.dock === "left") s = props.axesScales.x;
3967 else s = props.axesScales.y;
3968 switch(s.aggregate){
3969 case "sum":
3970 return "sum";
3971 default:
3972 return "count";
3973 }
3974 }
3975}
3976
3977},{"./layout":"jm7Ki","../constants":"9PPhV","../expr":"f5d82","../scope":"91ogX","../selection":"c6vR2","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"jm7Ki":[function(require,module,exports) {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected