Skip to content

Commit

Permalink
fix #4796; glitch in the marker while moving in a line chart
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Nov 8, 2024
1 parent 2a92d9c commit b1e179e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/tooltip/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default class Marker {
for (let p = 0; p < points.length; p++) {
const size = parseFloat(points[p].getAttribute('default-marker-size'))

if (Utils.isNumber(size) && size >= 0) {
if (Utils.isNumber(size) && size > 0) {
const path = this.ttCtx.tooltipUtil.getPathFromPoint(points[p], size)
points[p].setAttribute('d', path)
} else {
Expand Down

0 comments on commit b1e179e

Please sign in to comment.