| 779 | treemap: (0, _treemapDefault.default) |
| 780 | }; |
| 781 | function getSpecBuilderPropsForChart(specContext) { |
| 782 | const { insight , specColumns , specViewOptions } = specContext; |
| 783 | const fn = map[insight.chart]; |
| 784 | if (fn) { |
| 785 | const props = fn(specContext); |
| 786 | if (insight.columns.facet) { |
| 787 | const discreteFacetColumn = { |
| 788 | column: specColumns.facet, |
| 789 | defaultBins: (0, _defaults.defaultBins), |
| 790 | maxbins: (0, _defaults.maxbins), |
| 791 | maxbinsSignalDisplayName: specViewOptions.language.FacetMaxBins, |
| 792 | maxbinsSignalName: (0, _constants.SignalNames).FacetBins |
| 793 | }; |
| 794 | const discreteFacetVColumn = { |
| 795 | column: specColumns.facetV, |
| 796 | defaultBins: (0, _defaults.defaultBins), |
| 797 | maxbins: (0, _defaults.maxbins), |
| 798 | maxbinsSignalDisplayName: specViewOptions.language.FacetVMaxBins, |
| 799 | maxbinsSignalName: (0, _constants.SignalNames).FacetVBins |
| 800 | }; |
| 801 | const { facetLayout , layoutPair } = (0, _facetLayout.getFacetLayout)(insight.facetStyle, discreteFacetColumn, discreteFacetVColumn, specViewOptions.colors.axisText); |
| 802 | props.layouts.unshift(layoutPair); |
| 803 | props.facetLayout = facetLayout; |
| 804 | } |
| 805 | return props; |
| 806 | } |
| 807 | } |
| 808 | |
| 809 | },{"./barchartH":"10jFE","./barchartV":"fAuAF","./density":"cecpp","./grid":"464zg","./scatterplot":"23ZBL","./stacks":"jwqgN","./strips":"7KbAx","./treemap":"cToUx","../facetLayout":"ksF6u","../constants":"9PPhV","../defaults":"lzTCE","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"10jFE":[function(require,module,exports) { |
| 810 | var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); |