| 152612 | } |
| 152613 | |
| 152614 | function treemapTransforms(insight) { |
| 152615 | const transforms = [{ |
| 152616 | type: 'nest', |
| 152617 | keys: [insight.columns.group || '__NONE__'] |
| 152618 | }, { |
| 152619 | type: 'treemap', |
| 152620 | field: insight.columns.size, |
| 152621 | sort: { |
| 152622 | field: 'value', |
| 152623 | order: 'descending' |
| 152624 | }, |
| 152625 | round: true, |
| 152626 | method: { |
| 152627 | signal: _constants.SignalNames.TreeMapMethod |
| 152628 | }, |
| 152629 | padding: 1, |
| 152630 | size: [{ |
| 152631 | signal: 'width' |
| 152632 | }, { |
| 152633 | signal: 'height' |
| 152634 | }], |
| 152635 | as: [_constants.FieldNames.TreemapStackX0, _constants.FieldNames.TreemapStackY0, _constants.FieldNames.TreemapStackX1, _constants.FieldNames.TreemapStackY1, _constants.FieldNames.TreemapStackDepth, _constants.FieldNames.TreemapStackChildren] |
| 152636 | }]; |
| 152637 | return transforms; |
| 152638 | } |
| 152639 | },{"../../array":"FvDz","../constants":"RaLA","../facet":"kjBE","../top":"z3Hg"}],"vnKC":[function(require,module,exports) { |
| 152640 | "use strict"; |
| 152641 | |