"Tooltip" settings when a line graph and a bar graph are combined

I created a graph with a mixture of line graphs and bar graphs.
How can I set a different "tooltip" for each graph?
Attach the created "oml".

test.oml

Hi NishiMura,

Use below code snipped  for different "tooltip" for each graph 


tooltip: {
    shared: false,
    formatter: function() {
        var text = '';
        if(this.series.name == 'count') {
            text = this.x + ': ' + this.series.name +
                   '<br> $' + Highcharts.numberFormat(this.y, 0);
        } else {
            text = 'In ' + this.x + ' the median value was' + this.series.name +
                   'and the total $' + Highcharts.numberFormat(this.y, 0);
        }
        return text;
    }
}


Below is the working URL and attached oml

https://dbaghel.outsystemscloud.com/testChart/screen?_ts=637865246760686903

Hope this will help you.

Best Regards

Devendra



testChart.oml

Hello Devendra 

Thank you very much. 

I was able to do it well.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.