(stage, deckProps)
| 9751 | // } |
| 9752 | } |
| 9753 | preStage(stage, deckProps) { |
| 9754 | const onClick = (e, search)=>{ |
| 9755 | if (this.options.onAxisClick) this.options.onAxisClick(e, search); |
| 9756 | else this.select(search); |
| 9757 | }; |
| 9758 | this.overrideAxisLabels(stage); |
| 9759 | const polygonLayer = (0, _axisSelection.axisSelectionLayer)(this.presenter, this.specCapabilities, this._specColumns, stage, onClick, this.options.colors.axisSelectHighlight, this.options.selectionPolygonZ); |
| 9760 | const order = 1; //after textlayer but before others |
| 9761 | deckProps.layers.splice(order, 0, polygonLayer); |
| 9762 | (0, _legend.finalizeLegend)(this.insight.colorBin, this._specColumns.color, stage.legend, this.options.language); |
| 9763 | if (this.options.onStage) this.options.onStage(stage, deckProps); |
| 9764 | } |
| 9765 | onCubeClick(e, cube) { |
| 9766 | this.options.onCubeClick && this.options.onCubeClick(e, cube); |
| 9767 | const hasSelectedData = this._dataScope.hasSelectedData(); |
no test coverage detected