There was an error loading the summary statistics.
+Color Cells By Values
+ {/* {colorByStdDev && ( + + {Object.entries(stdDevColors) + .sort((a, b) => +a[0] - +b[0]) + .map(([stdev, backgroundColor], i) => ( + + {+stdev > 0 ? `+${stdev}`: stdev} + + ))} + + )} */} +Zone | + {columnConfig.map((f, i) => ( ++ {f.label} + | + ))} +
---|---|
+ Zone Averages + | + {columnConfig.map((f, i) => ( ++ {formatNumber(averages[columnGetter(f.column)], numberFormat)} + | + ))} +
+ Zone Std. Dev. + | + {columnConfig.map((f, i) => ( ++ {formatNumber(stdDevs[columnGetter(f.column)], numberFormat)} + | + ))} +
+ + {zoneName} + | + {columnConfig.map((f, i) => { + const column = columnGetter(f.column); + const colorValue = + evalMode === 'count' ? row[column] / maxValues[column] : row[column]; + const backgroundColor = + colorBg && !isUnassigned + ? interpolateGreys(colorValue) + .replace('rgb', 'rgba') + .replace(')', ',0.5)') + : 'initial'; + return ( ++ {formatNumber(row[column], numberFormat)} + | + ); + })} +