@datarailsshared/dr_renderer 1.2.193-dragons → 1.2.194-dragons

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.193-dragons",
3
+ "version": "1.2.194-dragons",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -4356,15 +4356,12 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
4356
4356
  );
4357
4357
 
4358
4358
  if (uniqueCategories && (uniqueCategories.length > maxCategories || uniqueCategories.length < minCategories )) {
4359
- const commonErrorSentence = `Please choose ${ minCategories }-${ maxCategories } items in the Category section.`
4360
4359
  options.error_has_occurred = true;
4361
4360
  options.error_params = {
4362
- title: uniqueCategories.length > maxCategories
4363
- ? `There is too much data. ${ commonErrorSentence }`
4364
- : `Not enough data. ${ commonErrorSentence }`,
4365
- text: '',
4366
- btnText: 'Edit Widget',
4367
- class: 'too-much-data',
4361
+ title: 'Data Conflict',
4362
+ text: `Please adjust your dashboard's reference date and filter selections as \
4363
+ the quantity of data doesn't match the chart's ${ minCategories }-${ maxCategories } value limit.`,
4364
+ class: 'nodata' ,
4368
4365
  }
4369
4366
  return highchartsRenderer.getNoDataResult(options.rendererOptions, true);
4370
4367
  }