apexcharts / apexcharts.js

πŸ“Š Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.05k stars 1.28k forks source link

When I release the mouse, a point that is supposed to be null appears. #4446

Open MurakawaTakuya opened 2 months ago

MurakawaTakuya commented 2 months ago

Description

Steps to Reproduce

  1. create a graph that contains null
  2. hover and release the graph

Expected Behavior

image

Actual Behavior

those points that is supposed to be null appears(remains) after releasing the mouse from the graph

https://github.com/apexcharts/apexcharts.js/assets/58139133/6e7b0a7a-ca39-4dc7-90c8-1311380097f5

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2024-04-30 145304

As you see the picture, it seems there is a mistake in the settings that prevent points from being displayed when they are null, as these points are appearing at the same y-coordinates where the mouse was last hovered.

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2024-04-30 145304

Reproduction Link

https://apexcharts.com/javascript-chart-demos/line-charts/null-values/ try these steps with this graph