@datarailsshared/dr_renderer 1.2.263 → 1.2.265

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.263",
3
+ "version": "1.2.265",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -1134,6 +1134,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1134
1134
  newSeries.className = 'totalSeries';
1135
1135
  newSeries.name = 'Total';
1136
1136
  newSeries.data = [];
1137
+
1138
+ if (colors && colors[i]) {
1139
+ newSeries.color = colors[i];
1140
+ }
1141
+
1137
1142
  col_n_keys.forEach(columnKey => {
1138
1143
  let totalKey = columnKey;
1139
1144
  if (lodash.isArray(columnKey)) {
@@ -1316,6 +1321,11 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1316
1321
  totalSeries.className = 'totalSeries';
1317
1322
  totalSeries.name = 'Total';
1318
1323
  totalSeries.data = [];
1324
+
1325
+ if (colors && colors[i]) {
1326
+ totalSeries.color = colors[i];
1327
+ }
1328
+
1319
1329
  col_n_keys.forEach(columnKey => {
1320
1330
  let key = columnKey;
1321
1331
  let totalKey = columnKey;