@datarailsshared/dr_renderer 1.5.196 → 1.5.199

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.196",
3
+ "version": "1.5.199",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -1873,7 +1873,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
1873
1873
  }
1874
1874
 
1875
1875
  highchartsRenderer.getVariantSeries = function (series, delta_column_options, pivotData, colors) {
1876
- const varianceColor = delta_column_options.color || colors[7] || highchartsRenderer.variance_color || Highcharts.getOptions().colors[7];
1876
+ const varianceColor = delta_column_options.color || (colors && colors[7]) || highchartsRenderer.variance_color || Highcharts.getOptions().colors[7];
1877
1877
  series.name = delta_column_options.name.replace('_', '');
1878
1878
  series.initialName = series.name;
1879
1879
  series.color = varianceColor;