cyberspy
Posts: 2
Joined: Tue Nov 05, 2024 8:07 am

Arearange tooltip not showing

I am using an arrange plot to show multiple data charts, basically, the same set of chart instructions but for different data. In the chart instructions, specifically for tooltip, I am using the following config
tooltip = {
Crosshairs = true,
Shared = true,
}
But, for some charts, the tooltip doesn't show up. This wasn't a problem until I upgraded to v10.3.3. My code worked till v10.3.2, but upgrading to the 10.3.3, breaks this. If I remove the shared = true, code, the tooltip shows up again, any help would be appreciated
andrzej.b
Site Moderator
Posts: 282
Joined: Mon Jul 15, 2024 12:34 pm

Re: Arearange tooltip not showing

Hi,

Welcome to the forum and thank you for reaching out.

If you could share your code then I will be able to tell you what is not working and how we can move forward.

Kind regards,
Andrzej
Highcharts Developer
cyberspy
Posts: 2
Joined: Tue Nov 05, 2024 8:07 am

Re: Arearange tooltip not showing

Hey,
Unfortunately, I can't share a lot of the code, since it is sensitive code, I will share what I can,

Series =[];
ForEach( Zone Id, IDs ){
definition = Zone [ Zone Id ];
Template ={
name = definition.zone desc;
type = "arearange";
color = definition.color;
zindex = 0
}
Template.data = numeric data;
Series.append( Template );
}
{ Ymin, Ymax } = // some function calc
Xmin = earliest date;

Instructions ={
title = {text="TEXT", align="left"},
xAxis = {min=Xmin, type="datetime"},
yAxis = {
min=Ymin,
max=Ymax,
startOnTick=False,
endOnTick=False,
tick interval=5
}
chart={alignTicks=False},
tooltip={
crosshairs = True,
shared=True,
}
series=Series,
}

Return( Instructions);


This is the chart config code I can share, please ask if any more clarification is needed, I can try and give more context, thank you for your time

Cheers,
andrzej.b
Site Moderator
Posts: 282
Joined: Mon Jul 15, 2024 12:34 pm

Re: Arearange tooltip not showing

Hi,

Unfortunately, I see nothing that could cause the issue in the config you shared. Could you create a minimal reproducible example with dummy data that replicates the issue? This can help in pinpointing the problem.

I've prepared for you an initial setup based on the code that you shared: https://jsfiddle.net/BlackLabel/2hvote68/

Best,
Andrzej
Highcharts Developer

Return to “Highcharts Usage”