@datarailsshared/dr_renderer 1.3.39 → 1.3.40

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.3.39",
3
+ "version": "1.3.40",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -406,6 +406,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
406
406
  if (!type) return null;
407
407
  return [
408
408
  'line',
409
+ 'line-chart-forecast',
409
410
  'spline',
410
411
  'area',
411
412
  'areaspline',
@@ -6657,7 +6658,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
6657
6658
  },
6658
6659
  {
6659
6660
  element_type: 'toggle',
6660
- element_label: 'Smart Queries',
6661
+ element_label: 'Forecast Chart',
6661
6662
  value_name: 'smart_query',
6662
6663
  default_value: true,
6663
6664
  showFn: isChartTypeSupportedForSmartQuery
@@ -7660,6 +7661,17 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
7660
7661
  axisTooltipTitle: 'Drag one or more fields here to create your x-axis.',
7661
7662
  legendTooltipTitle: 'Adding a field in this section will display lines for each item in that field.',
7662
7663
  },
7664
+ 'line-chart-forecast': {
7665
+ name: 'Combined Line',
7666
+ label: 'Combined Line',
7667
+ title: 'Show forecast over time.',
7668
+ description: 'For example, see how your Monthly Revenue evolves over a given period.',
7669
+ axisName: 'X - Axis',
7670
+ legendName: 'Data series',
7671
+ startedMessage: '“To get started, drag the Reporting Month field to the x-axis, include the Scenario Cycle field in the data series, and add one field to the value section.”',
7672
+ axisTooltipTitle: 'Drag one or more fields here to create your x-axis.',
7673
+ legendTooltipTitle: 'Adding a field in this section will display lines for each item in that field.',
7674
+ },
7663
7675
  'scatter-chart': {
7664
7676
  name: 'Scatter chart',
7665
7677
  label: 'Scatter Chart',
@@ -7853,6 +7865,27 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
7853
7865
  highchartsRenderer.suboptions["legends"],
7854
7866
  ]
7855
7867
  },
7868
+ {
7869
+ type: 'line-chart-forecast',
7870
+ name: highchartsRenderer.chartsTypesInfo['line-chart-forecast'].name,
7871
+ class: 'google-visualization-charteditor-thumbs-linechart-forecast',
7872
+ render: highchartsRenderer.ptRenderSpLine,
7873
+ suboptions: [
7874
+ highchartsRenderer.suboptions["axisY"],
7875
+ highchartsRenderer.suboptions["axisX"],
7876
+ highchartsRenderer.suboptions["tooltips"],
7877
+ highchartsRenderer.suboptions["label"],
7878
+ highchartsRenderer.suboptions["subtitle"],
7879
+ highchartsRenderer.suboptions["widget_library"],
7880
+ highchartsRenderer.suboptions["table_options_transpose"],
7881
+ highchartsRenderer.suboptions["table_design_options"],
7882
+ highchartsRenderer.suboptions["chart_grid"],
7883
+ highchartsRenderer.suboptions["negative_number_format"],
7884
+ highchartsRenderer.suboptions["delta_column"],
7885
+ highchartsRenderer.suboptions["advanced"],
7886
+ highchartsRenderer.suboptions["legends"],
7887
+ ]
7888
+ },
7856
7889
  {
7857
7890
  type: 'scatter-chart',
7858
7891
  name: highchartsRenderer.chartsTypesInfo['scatter-chart'].name,