@datarailsshared/dr_renderer 1.2.376 → 1.2.377

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.376",
3
+ "version": "1.2.377",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -1663,6 +1663,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1663
1663
  }
1664
1664
 
1665
1665
  const agg = pivotData.getAggregator([], keys);
1666
+
1667
+ if (keys[0] === 'Total') {
1668
+ agg.uniq = pivotData.allTotal.uniq;
1669
+ }
1670
+
1666
1671
  let val = agg.value();
1667
1672
 
1668
1673
  if (val != null && $.isNumeric(val)) {