@datarailsshared/dr_renderer 1.2.351 → 1.2.352

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.351",
3
+ "version": "1.2.352",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -144,7 +144,6 @@ const FEATURES = {
144
144
  ENABLE_SERVER_TOTALS_CALCULATION: 'enable_server_totals_calculation',
145
145
  FORMAT_AXIS: 'use_default_table_format_for_axis',
146
146
  FORMAT_DATES_AS_OTHER_AXIS_TYPES: 'format_dates_as_other_axis_types',
147
- DASHBOARD_INSIGHT_TOOLTIP_RELATIVE_POSITION: 'dashboard_insight_tooltip_relative_position',
148
147
  MULTIPLE_DIMENSION_TAGS: 'multiple_dimension_tags',
149
148
  USE_NEW_SCENARIO_TAG: 'use_new_scenario_tag',
150
149
  }
@@ -179,7 +178,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
179
178
 
180
179
  highchartsRenderer.useTotalsCalculation = false;
181
180
  highchartsRenderer.enabledNewWidgetValueFormatting = false;
182
- highchartsRenderer.relativePositionForInsightTooltips = false;
183
181
  let disableAnimation = false;
184
182
 
185
183
  highchartsRenderer.hasFeature = function(featureFlagKey) {
@@ -190,7 +188,6 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
190
188
  highchartsRenderer.useTotalsCalculation = highchartsRenderer.hasFeature(FEATURES.ENABLE_SERVER_TOTALS_CALCULATION);
191
189
  disableAnimation = document.ReportHippo.user.organization && document.ReportHippo.user.organization.settings && document.ReportHippo.user.organization.settings.disable_animation
192
190
  highchartsRenderer.enabledNewWidgetValueFormatting = highchartsRenderer.hasFeature(FEATURES.ENABLE_NEW_WIDGET_VALUE_FORMATTING);
193
- highchartsRenderer.relativePositionForInsightTooltips = highchartsRenderer.hasFeature(FEATURES.DASHBOARD_INSIGHT_TOOLTIP_RELATIVE_POSITION);
194
191
  }
195
192
 
196
193
  // fix issue of use tootip.stickOnContact with tooltip.outside , source: https://github.com/highcharts/highcharts/pull/15960
@@ -695,7 +692,7 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
695
692
  highchartsRenderer.customFormatterTooltipInsights = function(pivotData, opts) {
696
693
  return {
697
694
  useHTML: true,
698
- outside: !highchartsRenderer.relativePositionForInsightTooltips,
695
+ outside: true,
699
696
  backgroundColor: 'transparent',
700
697
  borderWidth: 0,
701
698
  borderRadius: 0,