@datarailsshared/dr_renderer 1.2.129 → 1.2.130

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.129",
3
+ "version": "1.2.130",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -3578,6 +3578,9 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
3578
3578
  if (this.ignoreValue) {
3579
3579
  return null;
3580
3580
  }
3581
+ if (useTotalsCalculation) {
3582
+ return this.sum;
3583
+ }
3581
3584
  return this.sum / this.len;
3582
3585
  },
3583
3586
  format: function (x, only_formats) {