@datarailsshared/dr_renderer 1.2.115 → 1.2.116

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.115",
3
+ "version": "1.2.116",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -2651,7 +2651,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
2651
2651
  let result = '';
2652
2652
  if (agg) {
2653
2653
  let percentages = '';
2654
- result = this.total > 0 ? this.total : total;
2654
+ result = presentTotal ? this.total > 0 ? agg.sum : '' : total;
2655
2655
 
2656
2656
  if (!result) {
2657
2657
  return '';