@datarailsshared/dr_renderer 1.2.332 → 1.2.333

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.332",
3
+ "version": "1.2.333",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -3484,11 +3484,12 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
3484
3484
  return "";
3485
3485
  },
3486
3486
  style: lodash.merge(
3487
- highchartsRenderer.getDataLabelsStyle(additionOptions),
3487
+ LABEL_DEFAULT_OPTIONS.style,
3488
3488
  {
3489
- fontWeight: 'normal',
3490
- color: (highchartsRenderer.highcharts_theme && highchartsRenderer.highcharts_theme.textColor) || 'gray'
3491
- }
3489
+ color: lodash.get(additionOptions, `${ highchartsRenderer.getLabelOptionKey(additionOptions) }.font_color`)
3490
+ || LABEL_DEFAULT_OPTIONS.color,
3491
+ },
3492
+ highchartsRenderer.getDataLabelsStyle(additionOptions),
3492
3493
  ),
3493
3494
  },
3494
3495
  labels: {