-
-
Couldn't load subscription status.
- Fork 1.4k
Description
Tool Tip values showing multiple in date time x-axis when disabled legends in multi series line chart with straight line. Also getting console error like apexcharts.common.js:6 Uncaught TypeError: Cannot read properties of undefined (reading '1')
at apexcharts.common.js:6:255925
I am using React with Apex Line chart data. Also using "apexcharts": "3.32.1", & "react-apexcharts": "1.3.9" both are latest.
Given below the sandbox link.
Codepen
https://codesandbox.io/s/divine-firefly-tnd0d
Explanation
When I disable legends for series with more data points and observe the tooltip for series with less data point, tooltip value shows multiple
This happens mostly with the series data points with straight line
-
What is the behavior you expect?
Single ToolTip values should appear with no console error. -
What is happening instead?
Showing multiple tooltip values when legends are disabled with console error -
What error message are you getting?
Multiple tooltip values are displayed. with console error => apexcharts.common.js:6 Uncaught TypeError: Cannot read properties of undefined (reading '1')
at apexcharts.common.js:6:255925
Any help would be appreciated if I am missing on something or if this is an issue?
Thanks,
Harshal