@redsift/charts 13.0.2 → 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.
- package/_internal/BarChart2.js +1 -1
- package/_internal/BarChart2.js.map +1 -1
- package/_internal/Legend3.js +9 -6
- package/_internal/Legend3.js.map +1 -1
- package/_internal/LegendItem.js +1 -1
- package/_internal/LegendItem2.js +95 -27
- package/_internal/LegendItem2.js.map +1 -1
- package/_internal/LineChart2.js +1 -1
- package/_internal/LineChart2.js.map +1 -1
- package/_internal/PieChart2.js +1 -1
- package/_internal/PieChart2.js.map +1 -1
- package/_internal/ScatterPlot2.js +1 -1
- package/_internal/ScatterPlot2.js.map +1 -1
- package/index.d.ts +4 -2
- package/package.json +4 -4
|
@@ -488,7 +488,7 @@ const RenderedScatterPlot = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
488
488
|
} = _ref,
|
|
489
489
|
forwardedLegendProps = _objectWithoutProperties(_ref, _excluded2);
|
|
490
490
|
return /*#__PURE__*/React.createElement(StyledScatterPlot, _extends({
|
|
491
|
-
mode: typeof onDotClick === 'function' || typeof getDotAnchorProps === 'function' ? 'interactive' : 'static',
|
|
491
|
+
mode: typeof onDotClick === 'function' || typeof getDotAnchorProps === 'function' || typeof forwardedLegendProps.getLegendItemAnchorProps === 'function' ? 'interactive' : 'static',
|
|
492
492
|
definition: hasCategory ? format('definition-with-categories', {
|
|
493
493
|
categoryLength: categories.length,
|
|
494
494
|
circleLength: circles.length
|