(role, quantitative, treemap)
| 12191 | const firstQuantitative = nonInternal.filter((c)=>c.quantitative)[0]; |
| 12192 | const firstQuantitativeColumnName = firstQuantitative && firstQuantitative.name; |
| 12193 | const ensureColumn = (role, quantitative, treemap)=>{ |
| 12194 | if (!insightColumns[role]) { |
| 12195 | if (treemap) insightColumns[role] = getTreemapColumn(actualColumns).name; |
| 12196 | else insightColumns[role] = quantitative ? firstQuantitativeColumnName : firstColumnName; |
| 12197 | } |
| 12198 | }; |
| 12199 | function checkRequiresSize() { |
| 12200 | switch(totalStyle){ |
| 12201 | case "sum-strip": |
no test coverage detected