First of all, thank you for an awesome chart library. I absolutely love ApexCharts!
This issue is actually illustrated perfectly on your Irregular Timeseries demo page, so no codepen is required:
https://apexcharts.com/javascript-chart-demos/area-charts/irregular-timeseries/
This demo has the following configuration for the tooltip:
tooltip: {
shared: true
},
However, as you can see in the demo, the tooltips are not showing as shared, even if you hover over a point intersecting multiple series. Instead, it only shows a single series in the tooltip.
Screenshot:

I expect that when tooltip.shared is set to true, that all intersecting series will show in the tooltip hover. This is indeed the case when all series start at the same timestamp (i.e. a "regular" timeseries).
The tooltip hover is only showing one single series (the nearest one), even though multiple series intersect the X position of the mouse.
There is no error message. This is just a visual issue.
I've noticed that when all my series data starts at the same timestamp (i.e. regular, not irregular) the shared tooltip works just fine. This issue only occurs when one or more of the series starts at a different timestamp, as shown in your Irregular Timeseries demo.
Here is codepen created from your Irregular Timeseries demo code, but I adjusted all three series to start at the same timestamp, and have the same array length:
https://codepen.io/anon/pen/EMdpmN
As you can see, the shared tooltip works just fine in this case.
By default, a shared tooltip is turned off in an irregular time-series.
Until now, I haven't found a solution that would work elegantly in this case, hence I turned it off programmatically.
I will visit that part of code once again to see how it goes, thanks!
Any updates on this? We have a similar issue in our graphs with 'missing' keys, but the days at the x-axes are equal.
If the days at the x-axes are equal, you should create series with null values so that all series length stays equal.
series: [
{
data: [
{
x: new Date('17 Jul').getTime(),
y: 20
},
{
x: new Date('18 Jul').getTime(),
y: 30
},
{
x: new Date('19 Jul').getTime(),
y: null
}
]
},
{
data: [
{
x: new Date('17 Jul').getTime(),
y: null
},
{
x: new Date('18 Jul').getTime(),
y: 23
},
{
x: new Date('19 Jul').getTime(),
y: 98
}
]
}
],
Wouldn't it maybe be possible to optionally show the y value at the line position, instead of the datapoint?
For context, in my example I only have data point when values are about to change or just changed. So the correct behaviour for a shared tooltip in those cases of an irregular timeseries would be to either show the y value of all series lines at the date, or to show the y value of the closest data point of each series.
@junedchhipa can we expect an official fix for this sometime?
i am stuck with this from past few days.....any update on this
@junedchhipa ....please suggest any workaround
@betaanish He's already suggested a workaround, just add the missing dates with null values
The suggested fix doesn't work.

$(document).ready(function() {
primary = [{
x: "2020-01-05",
y: null
}, {
x: "2020-10-01",
y: 30
}, {
x: "2019-11-01",
y: 15
}, {
x: "2020-11-02",
y: 30
}, ]
secondary = [{
x: "2020-01-05",
y: 15
}, {
x: "2020-10-01",
y: null
}, {
x: "2019-11-01",
y: null
}, {
x: "2020-11-02",
y: 30
}, ]
var options = {
series: [{
name: 'Primary',
data: primary
}, {
name: 'Secondary',
data: secondary
}],
chart: {
type: 'line',
stacked: false,
height: 350,
zoom: {
type: 'x',
enabled: true,
autoScaleYaxis: true
},
toolbar: {
autoSelected: 'zoom'
}
},
dataLabels: {
enabled: true
},
markers: {
size: 0,
},
title: {
text: 'Sample Series',
align: 'left'
},
yaxis: {
labels: {
formatter: function(val) {
return val;
},
},
title: {
text: 'Amount'
},
},
xaxis: {
type: 'datetime',
},
tooltip: {
shared: true,
y: {
formatter: function(val) {
return val;
}
}
}
};
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();
});
facing the same problem here.
any chances it'll be fixed anytime soon?
The same issue here, any fix so far?
Most helpful comment
By default, a shared tooltip is turned off in an irregular time-series.
Until now, I haven't found a solution that would work elegantly in this case, hence I turned it off programmatically.
I will visit that part of code once again to see how it goes, thanks!