@datarailsshared/dr_renderer 1.2.192-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.192-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
  }
@@ -6785,8 +6782,8 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
6785
6782
  [highchartsRenderer.CHART_TYPES.WATERFALL_BREAKDOWN]: {
6786
6783
  name: 'Breakdown Chart ',
6787
6784
  label: 'Breakdown Chart ',
6788
- title: 'Explain financial outcomes differences.',
6789
- description: 'For example, describe the gaps between last and current year total revenue, breakdown by department.',
6785
+ title: 'Analyzes what’s contributing to the financial increase or decrease.',
6786
+ description: 'For example, analyzes what’s contributing most to the difference in total revenue between last year and this year.',
6790
6787
  titleInEditor: 'This chart displays the breakdown of variance between two or more total values.',
6791
6788
  axisName: 'Category',
6792
6789
  legendName: 'Breakdown',