Combined tooltip for line charts

Hello Helical,

I am using Helical Insight 4.0. I am using a line chart with multiple measures. I am able to view separate tooltips for each of the lines. I am interested in getting a combined tooltip for all of the values at a particular point whenever I hover on a line. Also, I want to remove the grid lines from the chart. Is this possible?

image

Thank You,
Sesa.

Hello Sesa,

You can get a combined tooltip for all the lines or measures by enabling tooltip grouping.

For that, use the below script in the JS Editor of your report:

hi_container.set("preExecution",function(c){
var viz_Options = c.get("viz_Options");
viz_Options.chartOptions["grid"] ={
x: {
show:false  //for removing gridlines
},
y:{
show:false //for removing gridlines
}
};

viz_Options.chartOptions.tooltip = {

grouped: true // Default true   for having combined tooltip

};
c.set("viz_Options",viz_Options); 

});

image

Thank You,
Helical Insight.