@redsift/charts 13.0.1 → 13.0.3

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.
@@ -1078,7 +1078,7 @@ const RenderedLinearBarChart = /*#__PURE__*/forwardRef((props, ref) => {
1078
1078
  yAxisVariant
1079
1079
  }
1080
1080
  }, /*#__PURE__*/React.createElement(StyledBarChart, _extends({
1081
- mode: typeof onBarClick === 'function' || typeof getBarAnchorProps === 'function' ? 'interactive' : 'static',
1081
+ mode: typeof onBarClick === 'function' || typeof getBarAnchorProps === 'function' || typeof forwardedLegendProps.getLegendItemAnchorProps === 'function' ? 'interactive' : 'static',
1082
1082
  definition: hasCategory ? format('definition-linear-with-categories', {
1083
1083
  categoryLength: categories.length,
1084
1084
  barLength: bars.length