I have a summary histogram with a general hint, and I am trying to pull the total amount of the stack into the hint using the footerFormat property.
I thought it would be just a property that I could access, but I did not find an option for it that works.
Am I missing something obvious or do I need to do it in a more complex way?
(if I missed a duplicate of this question, please let me know, I could not find the specific circumstance that I am looking for for discussion)
code:
tooltip : { shared : true, useHTML : true, headerFormat : '<table class="tip"><caption>Group {point.key}</caption>' +'<tbody>', pointFormat : '<tr><th style="color: {series.color}">{series.name}: </th>' +'<td style="text-align: right">${point.y}</td></tr>', footerFormat : '<tr><th>Total: </th>' +'<td style="text-align:right"><b>${???}</b></td></tr>' +'</tbody></table>' }
source share