@datarailsshared/dr_renderer 1.2.350 → 1.2.351

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.350",
3
+ "version": "1.2.351",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -8993,6 +8993,10 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
8993
8993
  let templateNoData = lodash.find(templates, {id: widget_obj.template_id});
8994
8994
  if (templateNoData) {
8995
8995
 
8996
+ lodash.forEach(templateNoData.fields, field => {
8997
+ field.name = highchartsRenderer.decodeFunc(field.name);
8998
+ });
8999
+
8996
9000
  // we need to assign this before calling getWidgetDataSorters method
8997
9001
  // other way we won't get dateValuesDictionary
8998
9002
  // preserved condition templateNoData == true - not to interfere with further logic