@datarailsshared/dr_renderer 1.5.54 → 1.5.59

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.5.54",
3
+ "version": "1.5.59",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -899,12 +899,14 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
899
899
  if (this.category) {
900
900
  category_text = '';
901
901
  }
902
+
902
903
  var series_text = '<br/>' + '<span style="font-weight: bold; color: ' + this.series.color + ';">\u200E' + this.series.name + '</span>';
903
904
  if (tooltipOptions.show_value) {
904
905
  series_text += ': '
905
906
  }
906
907
 
907
- if (pivotData.rowAttrs.length == 0 && !isTrendSeries) {
908
+ // Hide series label for TOTAL points (e.g., Walkthrough TOTAL column)
909
+ if (lodash.get(this, 'point.options.isTotal')) {
908
910
  series_text = ': ';
909
911
  }
910
912