axidio-styleguide-library1-v2 0.1.92 → 0.1.93

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.
@@ -3527,6 +3527,7 @@ class GroupChartComponent extends ComponentUniqueId {
3527
3527
  let colorMap = {};
3528
3528
  var formatFromBackend;
3529
3529
  var formatForHugeNumbers;
3530
+ let isria = this.customChartConfiguration.isRia;
3530
3531
  var x;
3531
3532
  var alternate_text = false;
3532
3533
  var short_tick_length = 4;
@@ -4088,7 +4089,7 @@ class GroupChartComponent extends ComponentUniqueId {
4088
4089
  })
4089
4090
  // .style('cursor', 'pointer')
4090
4091
  .style('cursor', function (d) {
4091
- if (metaData.hasDrillDown)
4092
+ if (metaData.hasDrillDown && !isria)
4092
4093
  return 'pointer';
4093
4094
  else
4094
4095
  return 'default';
@@ -4214,17 +4215,20 @@ class GroupChartComponent extends ComponentUniqueId {
4214
4215
  !metaData.barWithoutClick.includes(d?.key)))
4215
4216
  self.handleClick(d);
4216
4217
  });
4217
- state
4218
- .selectAll('.lib-data-labels-weeklycharts')
4219
- .on('mouseout', handleMouseOut)
4220
- .on('mouseover', handleMouseOver);
4218
+ if (!isria) {
4219
+ state.selectAll('.lib-data-labels-weeklycharts')
4220
+ .on('mouseout', handleMouseOut)
4221
+ .on('mouseover', handleMouseOver);
4222
+ }
4221
4223
  }
4222
4224
  if (this.chartConfiguration.displayTitleOnTop || (this.chartConfiguration.textsOnBar == undefined &&
4223
4225
  this.chartConfiguration.displayTitleOnTop == undefined)) {
4224
- state
4225
- .selectAll('rect')
4226
- .on('mouseout', handleMouseOut)
4227
- .on('mouseover', handleMouseOver);
4226
+ if (!isria) {
4227
+ state
4228
+ .selectAll('rect')
4229
+ .on('mouseout', handleMouseOut)
4230
+ .on('mouseover', handleMouseOver);
4231
+ }
4228
4232
  }
4229
4233
  function handleMouseOver(d, i) {
4230
4234
  svg.selectAll('.lib-verticalstack-title-ontop').remove();
@@ -8999,7 +9003,12 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8999
9003
  }
9000
9004
  return height - y(0);
9001
9005
  })
9002
- .style('cursor', () => self.chartData.metaData.hasDrillDown ? 'pointer' : 'default')
9006
+ .style('cursor', function (d) {
9007
+ if (metaData.hasDrillDown && !isria)
9008
+ return 'pointer';
9009
+ else
9010
+ return 'default';
9011
+ })
9003
9012
  .attr('fill', function (d) {
9004
9013
  if (d.value &&
9005
9014
  self.chartData.targetLineData &&
@@ -9130,17 +9139,21 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9130
9139
  !metaData.barWithoutClick.includes(d?.key)))
9131
9140
  self.handleClick(d);
9132
9141
  });
9133
- state
9134
- .selectAll('.lib-data-labels-weeklycharts')
9135
- .on('mouseout', handleMouseOut)
9136
- .on('mouseover', handleMouseOver);
9142
+ if (!isria) {
9143
+ state
9144
+ .selectAll('.lib-data-labels-weeklycharts')
9145
+ .on('mouseout', handleMouseOut)
9146
+ .on('mouseover', handleMouseOver);
9147
+ }
9137
9148
  }
9138
9149
  if (this.chartConfiguration.displayTitleOnTop || (this.chartConfiguration.textsOnBar == undefined &&
9139
9150
  this.chartConfiguration.displayTitleOnTop == undefined)) {
9140
- state
9141
- .selectAll('rect')
9142
- .on('mouseout', handleMouseOut)
9143
- .on('mouseover', handleMouseOver);
9151
+ if (!isria) {
9152
+ state
9153
+ .selectAll('rect')
9154
+ .on('mouseout', handleMouseOut)
9155
+ .on('mouseover', handleMouseOver);
9156
+ }
9144
9157
  }
9145
9158
  function handleMouseOver(d, i) {
9146
9159
  svg.selectAll('.lib-verticalstack-title-ontop').remove();