axidio-styleguide-library1-v2 0.1.93 → 0.1.94

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)')
@@ -8899,7 +8900,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8899
8900
  // Increase bar width a bit in zoom-in view
8900
8901
  let reducedBarWidth = 60;
8901
8902
  if (!self.isZoomedOut) {
8902
- reducedBarWidth = 30;
8903
+ reducedBarWidth = 60;
8903
8904
  }
8904
8905
  if (self.chartData.data.length == 1) {
8905
8906
  if (Object.keys(self.chartData.data[0]).length == 2) {