Skip to content

Commit 60de5f0

Browse files
feat: context menu location changed
1 parent b91cf4e commit 60de5f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/observability/src/shared/components/cartesian/d3/chart/cartesian-chart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Injector, Renderer2 } from '@angular/core';
22
import { TimeRange, TimeRangeService } from '@hypertrace/common';
33
import { BrushBehavior, brushX, D3BrushEvent } from 'd3-brush';
44
// tslint:disable
5-
import { ContainerElement, event as _d3CurrentEvent, mouse, select } from 'd3-selection';
5+
import { ContainerElement, event as d3CurrentEvent, mouse, select } from 'd3-selection';
66
import { LegendPosition } from '../../../legend/legend.component';
77
import { ChartTooltipRef } from '../../../utils/chart-tooltip/chart-tooltip-popover';
88
import { D3UtilService } from '../../../utils/d3/d3-util.service';
@@ -323,7 +323,7 @@ export class DefaultCartesianChart<TData> implements CartesianChart<TData> {
323323

324324
private attachBrush(): void {
325325
const brushBehaviour: BrushBehavior<unknown> = brushX<unknown>().on('end', () =>
326-
this.onBrushSelection(_d3CurrentEvent)
326+
this.onBrushSelection(d3CurrentEvent)
327327
);
328328

329329
const { width, height } = this.hostElement.getBoundingClientRect();

0 commit comments

Comments
 (0)