@cubejs-client/core 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -761,7 +761,7 @@ class ResultSet {
761
761
  let groupByXAxis = groupByToPairs(({
762
762
  xValues
763
763
  }) => this.axisValuesString(xValues));
764
- const measureValue = (row, measure) => row[measure] || 0;
764
+ const measureValue = (row, measure) => row[measure] || pivotConfig.fillWithValue || 0;
765
765
  if (pivotConfig.fillMissingDates && pivotConfig.x.length === 1 && equals(pivotConfig.x, (query.timeDimensions || []).filter(td => Boolean(td.granularity)).map(td => ResultSet.timeDimensionMember(td)))) {
766
766
  const series = this.loadResponses.map(loadResponse => this.timeSeries(loadResponse.query.timeDimensions[0], resultIndex, loadResponse.annotation.timeDimensions));
767
767
  if (series[0]) {