(props)
| 4402 | var _signals = require("../signals"); |
| 4403 | class Cross extends (0, _layout.Layout) { |
| 4404 | constructor(props){ |
| 4405 | super(props); |
| 4406 | this.props = props; |
| 4407 | const p = this.prefix = `cross_${this.id}`; |
| 4408 | this.binX = (0, _bin.binnable)(`${p}_x`, props.globalScope.data.name, props.groupbyX); |
| 4409 | this.binY = (0, _bin.binnable)(`${p}_y`, props.globalScope.data.name, props.groupbyY); |
| 4410 | this.names = { |
| 4411 | facetDataName: `data_${p}_facet`, |
| 4412 | searchUnion: `data_${p}_search`, |
| 4413 | dimScale: `scale_${p}`, |
| 4414 | dimCount: `${p}_count`, |
| 4415 | dimCategorical: `data_${p}_cat`, |
| 4416 | dimCellSize: `${p}_cell_size`, |
| 4417 | dimCellSizeCalc: `${p}_cell_calc` |
| 4418 | }; |
| 4419 | } |
| 4420 | getGrouping() { |
| 4421 | return this.binX.fields.concat(this.binY.fields); |
| 4422 | } |
nothing calls this directly
no outgoing calls
no test coverage detected