@datarailsshared/dr_renderer 1.2.198 → 1.2.200

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.198",
3
+ "version": "1.2.200",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -4371,15 +4371,12 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
4371
4371
  );
4372
4372
 
4373
4373
  if (uniqueCategories && (uniqueCategories.length > maxCategories || uniqueCategories.length < minCategories )) {
4374
- const commonErrorSentence = `Please choose ${ minCategories }-${ maxCategories } items in the Category section.`
4375
4374
  options.error_has_occurred = true;
4376
4375
  options.error_params = {
4377
- title: uniqueCategories.length > maxCategories
4378
- ? `There is too much data. ${ commonErrorSentence }`
4379
- : `Not enough data. ${ commonErrorSentence }`,
4380
- text: '',
4381
- btnText: 'Edit Widget',
4382
- class: 'too-much-data',
4376
+ title: 'Data Conflict',
4377
+ text: `Please adjust your dashboard's reference date and filter selections as \
4378
+ the quantity of data doesn't match the chart's ${ minCategories }-${ maxCategories } value limit.`,
4379
+ class: 'nodata',
4383
4380
  }
4384
4381
  return highchartsRenderer.getNoDataResult(options.rendererOptions, true);
4385
4382
  }
@@ -6798,16 +6795,18 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
6798
6795
 
6799
6796
  highchartsRenderer.chartsTypesInfo = {
6800
6797
  [highchartsRenderer.CHART_TYPES.WATERFALL_BREAKDOWN]: {
6801
- name: 'Waterfall Breakdown Chart ',
6802
- label: 'Waterfall Breakdown Chart ',
6803
- title: 'TODO: add text',
6804
- description: 'TODO: add text',
6798
+ name: 'Breakdown Chart ',
6799
+ label: 'Breakdown Chart ',
6800
+ title: 'Analyzes what’s contributing to the financial increase or decrease.',
6801
+ description: 'For example, analyzes what’s contributing most to the difference in total revenue between last year and this year.',
6805
6802
  titleInEditor: 'This chart displays the breakdown of variance between two or more total values.',
6806
6803
  axisName: 'Category',
6807
6804
  legendName: 'Breakdown',
6808
6805
  startedMessage: 'To get started, drag one field to the Category and one field to the Value section.',
6809
- axisTooltipTitle: 'TODO: add text',
6810
- legendTooltipTitle: 'TODO: add text',
6806
+ axisTooltipTitle: 'Drag one field to configure your x-axis.',
6807
+ axisTooltipDescription: 'The category (usually an independent variable) is shown on the x-axis and should be between 2 to 5 total columns. ',
6808
+ legendTooltipTitle: 'Drag one field to further configure your x-axis.',
6809
+ legendTooltipDescription: 'The breakdown subdivides the chart by a category field for further analysis of what’s contributing to the increase or decrease.',
6811
6810
  },
6812
6811
  'combo-chart': {
6813
6812
  name: 'Combo Chart ',
@@ -7444,13 +7443,12 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
7444
7443
  {
7445
7444
  type: 'waterfall-chart',
7446
7445
  name: 'Waterfall',
7447
- hidden: true,
7448
- class: 'google-visualization-charteditor-mini-column',
7446
+ class: 'google-visualization-charteditor-mini-waterfall',
7449
7447
  subtypes: [
7450
7448
  {
7451
7449
  type: highchartsRenderer.CHART_TYPES.WATERFALL_BREAKDOWN,
7452
7450
  name: highchartsRenderer.chartsTypesInfo[highchartsRenderer.CHART_TYPES.WATERFALL_BREAKDOWN].name,
7453
- class: 'google-visualization-charteditor-thumbs-columnchart',
7451
+ class: 'google-visualization-charteditor-thumbs-breakdown',
7454
7452
  render: highchartsRenderer.ptRenderWaterfallBreakdown,
7455
7453
  suboptions: [
7456
7454
  highchartsRenderer.suboptions["axisY"],