score:2

it is possible to use a shared tooltip and set prefixes, suffixes etc. you just have to think about the wording. rather than use yprefix etc you use valueprefix

you set it for each series in the data

series: [{
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
        type: 'column'

    }, {
        data: [216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5],
        tooltip: {
    valueprefix: ' usd'
}}],

you can see a fiddle here showing it

score:2

you can specify a custom formatter for the chart's tooltip, and then a value suffix and any other options in the series tooltip, then reference those options in the chart's tooltip formatter function. e.g.:

$('xxxx').highcharts({
	...
	tooltip: {
                formatter: function() {
                    var text = "";
                    $.each(this.points, function(index) {
                        text += '<br/><b>' + this.series.name + ":</b> "+ this.y+" "+this.series.tooltipoptions.valuesuffix;
                    });
                    return text;
                },
                shared: true
            },
	...
});

...

chart.addseries({
            ...
            tooltip: {
                valuesuffix: ' '+seriesunit,
                valuedecimals:2
            },
            ...
        });

score:7

you can simple add a tooltip options to each serie.
you can see the options on the following link.
this way you don't have to format each serie's point.

series: [{
    name: 'usd',
    data: yourdata,
    tooltip: {
        ysuffix: ' usd',
        ydecimals: 4
    }
}, {
    name: 'eur',
    data: yourdata,
    tooltip: {
        yprefix: 'eur ',
        ydecimals: 1
    }
}]

demo

reference:


Related Query

More Query from same tag