diff --git a/src/components/markers.ts b/src/components/markers.ts index be4fdf0..4b8c806 100644 --- a/src/components/markers.ts +++ b/src/components/markers.ts @@ -34,7 +34,8 @@ export class Markers { .attr('x2', linePosition) .attr('y1', 0) // @ts-ignore // TODO: remove ignore but boxParams are protected - .attr('y2', this._state.boxParams.height); + .attr('y2', this._state.boxParams.height) + .attr('pointer-events', 'none'); this._d3Holder.append('circle') .attr('class', 'gap-circle') .attr('stroke', serie.color) @@ -42,7 +43,7 @@ export class Markers { .attr('r', 4) .attr('cx', linePosition) .attr('cy', 5) - .attr('pointer-events', 'all') + .attr('pointer-events', 'none') // TODO: make all on implementation of Events .style('cursor', 'pointer') });