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

Method constructor

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

Source from the content-addressed store, hash-verified

4717var _selection = require("../selection");
4718class Scatter extends (0, _layout.Layout) {
4719 constructor(props){
4720 super(props);
4721 this.props = props;
4722 const p = this.prefix = `scatter_${this.id}`;
4723 this.names = {
4724 aggregateData: `data_${p}_aggregate`,
4725 markData: `data_${p}_mark`,
4726 sizeExtent: `${p}_sizeExtent`,
4727 sizeRange: `${p}_sizeRange`,
4728 sizeScale: `${p}_sizeScale`,
4729 xScale: `scale_${p}_x`,
4730 yScale: `scale_${p}_y`,
4731 zScale: `scale_${p}_z`
4732 };
4733 }
4734 build() {
4735 const { names , prefix , props } = this;
4736 const { globalScope , parentScope , scatterPointScaleDisplay , size , x , y , z , zGrounded } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected