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

Method constructor

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

Source from the content-addressed store, hash-verified

4017var _selection = require("../selection");
4018class AggregateSquare extends (0, _layout.Layout) {
4019 constructor(props){
4020 super(props);
4021 this.props = props;
4022 const a = this.props.aggregation;
4023 const p = this.prefix = `agg_${this.id}`;
4024 this.names = {
4025 barCount: `${p}_count`,
4026 aggregateField: `${p}_aggregate_value`,
4027 globalAggregateExtentSignal: `${p}_${a}_extent`,
4028 extentData: `data_${p}_extent`
4029 };
4030 }
4031 build() {
4032 const { names , props } = this;
4033 const { aggregation , globalScope , groupings , onBuild , parentScope } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected