I haven’t done this sort of formatting before so I can’t say exactly. I’m not even 100% sure this is possible. But, the charts are based on apache echarts and you can find the docs for the tooltip formatter here:
It is possible to send functions to the tooltip formatter as you can see in this example:
But whether or not you can append other data, I don’t know.