@datarailsshared/dr_renderer 1.2.313 → 1.2.314

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.313",
3
+ "version": "1.2.314",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -5516,18 +5516,12 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
5516
5516
  const fieldOb = lodash.find(fields, { id: filterObj.id });
5517
5517
  if (!fieldOb) return;
5518
5518
 
5519
- filterObj.values = filterObj.values && lodash.map(filterObj.values, highchartsRenderer.decodeFunc);
5520
- filterObj.includes = filterObj.includes && lodash.map(filterObj.includes, highchartsRenderer.decodeFunc);
5521
-
5522
- if (lodash.get(filterObj, 'values.datetype') === 'list') {
5523
- filterObj.values = lodash.map(filterObj.values.val, highchartsRenderer.decodeFunc);
5524
- }
5525
-
5526
- fieldOb.includes = filterObj.includes;
5527
- fieldOb.values = filterObj.values;
5528
-
5529
- if (filterObj.allow_nulls && fieldOb) {
5530
- fieldOb.allow_nulls = filterObj.allow_nulls;
5519
+ if (filterObj.is_exclude) {
5520
+ filterObj.excludes = filterObj.values && lodash.map(filterObj.values, highchartsRenderer.decodeFunc);
5521
+ fieldOb.excludes = filterObj.excludes;
5522
+ } else {
5523
+ filterObj.includes = filterObj.values && lodash.map(filterObj.values, highchartsRenderer.decodeFunc);
5524
+ fieldOb.includes = filterObj.includes;
5531
5525
  }
5532
5526
  });
5533
5527