react-pivottable-secondary
Advanced tools
Comparing version 0.0.14 to 0.0.15
{ | ||
"name": "react-pivottable-secondary", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "A React-based pivot table secondary", | ||
@@ -5,0 +5,0 @@ "main": "PivotTableUI.js", |
@@ -579,3 +579,3 @@ 'use strict'; | ||
// hide | ||
// table type (hide) | ||
var rendererCell = _react2.default.createElement( | ||
@@ -582,0 +582,0 @@ 'td', |
@@ -110,13 +110,14 @@ 'use strict'; | ||
var colTotalColors = function colTotalColors() {}; | ||
// todo | ||
if (opts.heatmapMode) { | ||
var colorScaleGenerator = this.props.tableColorScaleGenerator; | ||
var rowTotalValues = colKeys.map(function (x) { | ||
return pivotData.getAggregator([], x).value(); | ||
}); | ||
rowTotalColors = colorScaleGenerator(rowTotalValues); | ||
var colTotalValues = rowKeys.map(function (x) { | ||
return pivotData.getAggregator(x, []).value(); | ||
}); | ||
colTotalColors = colorScaleGenerator(colTotalValues); | ||
// const rowTotalValues = colKeys.map(x => | ||
// pivotData.getAggregator([], x).value() | ||
// ); | ||
// rowTotalColors = colorScaleGenerator(rowTotalValues); | ||
// const colTotalValues = rowKeys.map(x => | ||
// pivotData.getAggregator(x, []).value() | ||
// ); | ||
// colTotalColors = colorScaleGenerator(colTotalValues); | ||
console.log(rowKeys, colKeys); | ||
if (opts.heatmapMode === 'full') { | ||
@@ -123,0 +124,0 @@ var allValues = []; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2829
0
268441