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

Method constructor

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

Source from the content-addressed store, hash-verified

4112var _signals = require("../signals");
4113class Band extends (0, _layout.Layout) {
4114 constructor(props){
4115 super(props);
4116 this.props = props;
4117 const p = this.prefix = `band_${this.id}`;
4118 this.names = {
4119 xScale: `scale_${p}_x`,
4120 yScale: `scale_${p}_y`,
4121 bandWidth: `${p}_bandwidth`,
4122 accumulative: `${p}_accumulative`
4123 };
4124 this.bin = (0, _bin.binnable)(this.prefix, props.globalScope.data.name, props.groupby);
4125 }
4126 getGrouping() {
4127 return this.bin.fields;
4128 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected