apexcharts / Blazor-ApexCharts

A blazor wrapper for ApexCharts.js
https://apexcharts.github.io/Blazor-ApexCharts
MIT License
837 stars 92 forks source link

Issue with the various Click events and line charts. #534

Open mdhampton opened 1 month ago

mdhampton commented 1 month ago

I swear I entered an issue yesterday, but then again the new issue window was open for 6+ hours.

Problem: If you have any of the click events on a line chart, there are several issues when series points intersect (e.g., same Y axis value).

  1. Only one of the datapoints will be shown in the hover over popup. See example picture below.
  2. When the point is clicked, only one of the points is provided.

image

I know that issue one is caused by the markers (I had to remove them in my application in order for the hover over to work). What I don't know is if issue two is caused by ApexCharts itself, or by Blazor-ApexCharts.

I have created a simple blazor app under .Net 8 that demonstrates this issue: https://github.com/mdhampton/BlazorApexChartsTesting

When running the application, it is useful to have the console open beside the application to see the events triggered with the data provided by the event. This is also logged to the file ApexLog.txt. If this is in fact a duplicate issue, feel free to close.

Thanks.

mdhampton commented 1 month ago

Well, I did create the issue... On ApexCharts.js.... A reference for your enjoyment:

https://github.com/apexcharts/apexcharts.js/issues/4778

joadan commented 1 month ago

Hi,

I'm sorry but I don't think his is related to the wrapper. Is it possible for you to set up a codepen where this can be reproduced with the apexcharts.js?