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

Method constructor

docs/app/js/sanddance-app.js:3824–3837  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3822var _selection = require("../selection");
3823class AggregateContainer extends (0, _layout.Layout) {
3824 constructor(props){
3825 super(props);
3826 this.props = props;
3827 const a = this.aggregation = this.getAggregation();
3828 const p = this.prefix = `agg_${this.id}`;
3829 this.names = {
3830 barCount: `${p}_count`,
3831 aggregateField: `${p}_aggregate_value`,
3832 globalAggregateExtentSignal: `${p}_${a}_extent`,
3833 scale: `scale_${p}`,
3834 extentData: `data_${p}_extent`,
3835 offsets: `data_${p}_offsets`
3836 };
3837 }
3838 getAggregateSumOp() {
3839 if (this.aggregation === "sum") {
3840 const fieldOp = {

Callers

nothing calls this directly

Calls 1

getAggregationMethod · 0.95

Tested by

no test coverage detected