@sproutsocial/seeds-react-data-viz 0.7.11 → 0.7.13

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/dist/index.js CHANGED
@@ -670,7 +670,7 @@ var transformTimeSeriesTooltipData = ({
670
670
  }) => {
671
671
  return (context.series.chart.series || []).map((series, index) => {
672
672
  const pointIndex = context.point.index;
673
- const { y } = series.points[pointIndex];
673
+ const y = series?.points?.[pointIndex]?.y;
674
674
  return {
675
675
  color: data[index]?.styles?.color || import_seeds_react_theme6.theme.colors.DATAVIZ_COLORS_LIST[index],
676
676
  ...data[index]?.icon ? { icon: data[index]?.icon } : {},