@wavemaker/app-ng-runtime 11.3.4-rc.5290 → 11.3.4-rc.5297

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.
@@ -1030,7 +1030,8 @@
1030
1030
  }
1031
1031
  // Support for custom colors if user gives direct string of colors in text box
1032
1032
  if (_.isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
1033
- colors = _.split(propertyValueMap.customcolors, ',');
1033
+ var tempColors = propertyValueMap.customcolors.replace(/'/g, "\"");
1034
+ colors = JSON.parse(tempColors);
1034
1035
  }
1035
1036
  if (_.isArray(propertyValueMap.customcolors)) {
1036
1037
  colors = propertyValueMap.customcolors;
@@ -1196,7 +1197,7 @@
1196
1197
  if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
1197
1198
  // Verification to get the unique data keys
1198
1199
  this.xDataKeyArr.push(value);
1199
- return index;
1200
+ return value;
1200
1201
  }
1201
1202
  return value;
1202
1203
  };