@bizy/core 21.5.8 → 21.5.9

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.
@@ -10396,7 +10396,7 @@ class BizyBarLineChartComponent {
10396
10396
  const color = _line.getYAxisColor() ? _line.getYAxisColor() : yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _line.getColor() ? _line.getColor() : defaultYAxisColor;
10397
10397
  if (lineYAxis.group && yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT) {
10398
10398
  const _axisIndex = this.#chartGroups.get(lineYAxis.group);
10399
- if (_axisIndex) {
10399
+ if (typeof _axisIndex !== 'undefined') {
10400
10400
  axisIndex = _axisIndex;
10401
10401
  }
10402
10402
  else {
@@ -10452,7 +10452,7 @@ class BizyBarLineChartComponent {
10452
10452
  const color = _line.getXAxisColor() ? _line.getXAxisColor() : xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _line.getColor() ? _line.getColor() : defaultXAxisColor;
10453
10453
  if (lineXAxis.group && xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT) {
10454
10454
  const _axisIndex = this.#chartGroups.get(lineXAxis.group);
10455
- if (_axisIndex) {
10455
+ if (typeof _axisIndex !== 'undefined') {
10456
10456
  axisIndex = _axisIndex;
10457
10457
  }
10458
10458
  else {
@@ -10543,7 +10543,7 @@ class BizyBarLineChartComponent {
10543
10543
  const color = _bar.getYAxisColor() ? _bar.getYAxisColor() : yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _bar.getColor() ? _bar.getColor() : defaultYAxisColor;
10544
10544
  if (barYAxis.group && yAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT) {
10545
10545
  const _axisIndex = this.#chartGroups.get(barYAxis.group);
10546
- if (_axisIndex) {
10546
+ if (typeof _axisIndex !== 'undefined') {
10547
10547
  axisIndex = _axisIndex;
10548
10548
  }
10549
10549
  else {
@@ -10600,7 +10600,7 @@ class BizyBarLineChartComponent {
10600
10600
  const color = _bar.getXAxisColor() ? _bar.getXAxisColor() : xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT && _bar.getColor() ? _bar.getColor() : defaultXAxisColor;
10601
10601
  if (barXAxis.group && xAxisType === BIZY_BAR_LINE_CHART_AXIS_TYPE.DEPENDENT) {
10602
10602
  const _axisIndex = this.#chartGroups.get(barXAxis.group);
10603
- if (_axisIndex) {
10603
+ if (typeof _axisIndex !== 'undefined') {
10604
10604
  axisIndex = _axisIndex;
10605
10605
  }
10606
10606
  else {
@@ -10831,7 +10831,6 @@ class BizyBarLineChartComponent {
10831
10831
  const rootValue = getComputedStyle(document.documentElement).getPropertyValue(cssVariable).trim();
10832
10832
  return rootValue || null;
10833
10833
  };
10834
- #getRandomFourDigitsNumber = () => Math.floor(1000 + Math.random() * 9000);
10835
10834
  ngOnDestroy() {
10836
10835
  this.#resizeSubscription.unsubscribe();
10837
10836
  this.#barChartsSubscription.unsubscribe();