@hestia-earth/ui-components 0.41.28 → 0.41.29

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.
@@ -5654,7 +5654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
5654
5654
  // show label 8px from bar
5655
5655
  const gapX = 8;
5656
5656
  const placementGap = (placement) => (placement === 'right' ? +gapX : -gapX);
5657
- const placementX = (x, chart, data, placement) => placement === 'right' ? (Array.isArray(data) || data < 0 ? positionAtZero(chart) : x) : x;
5657
+ const placementX = (x, chart, data, placement) => placement === 'right' ? (data < 0 ? positionAtZero(chart) : x) : x;
5658
5658
  const positionAtZero = (chart) => chart.scales.x.getPixelForValue(0);
5659
5659
  const defaultBarDrawSettings = {
5660
5660
  placement: 'right',