@datarailsshared/dr_renderer 1.3.23 → 1.3.24

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.3.23",
3
+ "version": "1.3.24",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -1298,7 +1298,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1298
1298
  );
1299
1299
  });
1300
1300
 
1301
- if (additionOptions.series_colors) {
1301
+ if (additionOptions && additionOptions.series_colors) {
1302
1302
  ob.color = additionOptions.series_colors[row_n_value] || undefined;
1303
1303
  } else if (colors && colors[i]) {
1304
1304
  ob.color = colors[i];
@@ -1493,7 +1493,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1493
1493
  ob.data.push(tmoobj);
1494
1494
  });
1495
1495
 
1496
- if (additionOptions.series_colors) {
1496
+ if (additionOptions && additionOptions.series_colors) {
1497
1497
  ob.color = additionOptions.series_colors[row_n_value] || undefined;
1498
1498
  } else if (colors && colors[i]) {
1499
1499
  ob.color = colors[i];
@@ -1923,7 +1923,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1923
1923
  // check string contains hebrew
1924
1924
  ob.initialName = (/[\u0590-\u05FF]/).test(key) ? ('\u200E' + key) : key;
1925
1925
 
1926
- if (additionOptions.series_colors) {
1926
+ if (additionOptions && additionOptions.series_colors) {
1927
1927
  ob.color = additionOptions.series_colors[key] || undefined;
1928
1928
  }
1929
1929