Merge pull request #1666 from deecay/pivot-getdata

Change: add support for filtered data in Pivot table visualization
This commit is contained in:
Arik Fraimovich 2017-03-26 11:33:57 +03:00 committed by GitHub
commit c99bd03d99

View File

@ -21,7 +21,7 @@ function pivotTableRenderer() {
if ($scope.queryResult.getData() !== null) {
// We need to give the pivot table its own copy of the data, because it changes
// it which interferes with other visualizations.
data = angular.copy($scope.queryResult.getRawData());
data = angular.copy($scope.queryResult.getData());
const options = {
renderers: $.pivotUtilities.renderers,
onRefresh(config) {