axidio-styleguide-library1-v2 0.1.93 → 0.1.95

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.
@@ -3057,6 +3057,7 @@ class GuageChartComponent extends ComponentUniqueId {
3057
3057
  let data_ready = [];
3058
3058
  let labelArray = [];
3059
3059
  let colorType = null;
3060
+ let isria = this.customChartConfiguration.isRia;
3060
3061
  for (var i in this.defaultConfiguration) {
3061
3062
  this.chartConfiguration[i] = ChartHelper.getValueByConfigurationType(i, this.defaultConfiguration, this.customChartConfiguration);
3062
3063
  }
@@ -3190,7 +3191,7 @@ class GuageChartComponent extends ComponentUniqueId {
3190
3191
  .attr('d', arc)
3191
3192
  // .style('cursor', 'pointer');
3192
3193
  .style('cursor', function (d) {
3193
- if (metaData.currentValue > 0 && metaData.hasDrillDown)
3194
+ if (metaData.currentValue > 0 && metaData.hasDrillDown && !isria)
3194
3195
  return 'pointer';
3195
3196
  else
3196
3197
  return 'default';
@@ -7912,7 +7913,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7912
7913
  /**
7913
7914
  * used to display y label
7914
7915
  */
7915
- if (this.isZoomedOut && this.chartData.data.length > 8) {
7916
+ if (this.isZoomedOut && this.chartData.data.length > 9) {
7916
7917
  svg
7917
7918
  .selectAll('.lib-xaxis-labels-texts-drilldown')
7918
7919
  .attr('transform', 'rotate(-90)')
@@ -8831,7 +8832,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8831
8832
  }
8832
8833
  var xSubgroup = d3.scaleBand().domain(subgroups);
8833
8834
  if (subgroups.length > 1 && !this.isZoomedOut) {
8834
- // For grouped bar charts in zoom-in view, reduce padding between bars
8835
+ // For grouped bar charts in zoom-in view, use full x.bandwidth() for subgroups
8835
8836
  xSubgroup.range([0, x.bandwidth()]);
8836
8837
  }
8837
8838
  else if (subgroups.length === 1 && !this.isZoomedOut) {
@@ -8938,9 +8939,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8938
8939
  return y(0);
8939
8940
  })
8940
8941
  .attr('width', function (d) {
8941
- // For grouped bar charts in zoom-in view, slightly increase bar width for both bars (shipped and planned)
8942
+ // For grouped bar charts in zoom-in view, use full subgroup bandwidth for thick bars
8942
8943
  if (subgroups.length > 1 && !self.isZoomedOut) {
8943
- return xSubgroup.bandwidth() * 0.25;
8944
+ return xSubgroup.bandwidth();
8944
8945
  }
8945
8946
  // For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
8946
8947
  if (subgroups.length === 1 && !self.isZoomedOut) {