diff --git a/packages/ag-charts-community/src/chart/series/cartesian/barSeries.ts b/packages/ag-charts-community/src/chart/series/cartesian/barSeries.ts index 612dadc80c..a164f0741a 100644 --- a/packages/ag-charts-community/src/chart/series/cartesian/barSeries.ts +++ b/packages/ag-charts-community/src/chart/series/cartesian/barSeries.ts @@ -706,6 +706,6 @@ export class BarSeries extends AbstractBarSeries, parentStatus: type MarkerSeries = { getNodeData(): TDatum[] | undefined; getFormattedMarkerStyle(datum: TDatum): { size: number }; - contentGroup: Group; }; export function computeMarkerFocusBounds( @@ -175,5 +172,5 @@ export function computeMarkerFocusBounds ): _ModuleSupport.BBox | undefined { const rects = this.groupSelection.selectByClass(Rect); - return Transformable.toCanvas(rects[node.index]); + return rects[node.index].getBBox(); } } diff --git a/packages/ag-charts-enterprise/src/series/waterfall/waterfallSeries.ts b/packages/ag-charts-enterprise/src/series/waterfall/waterfallSeries.ts index 8b6cf99eaf..0776014630 100644 --- a/packages/ag-charts-enterprise/src/series/waterfall/waterfallSeries.ts +++ b/packages/ag-charts-enterprise/src/series/waterfall/waterfallSeries.ts @@ -879,6 +879,6 @@ export class WaterfallSeries extends _ModuleSupport.AbstractBarSeries< datumIndex, seriesRect, }: _ModuleSupport.PickFocusInputs): _ModuleSupport.BBox | undefined { - return computeBarFocusBounds(this.contextNodeData?.nodeData[datumIndex], this.contentGroup, seriesRect); + return computeBarFocusBounds(this.contextNodeData?.nodeData[datumIndex], seriesRect); } }