Home forums Using CanvasJS Showing #total inside a regular label or just on hover Reply To: Showing #total inside a regular label or just on hover

#12819

Sunil Urs
Keymaster

Jansen,

Sorry, but #total is not available in Format Strings because they are meant to specify formatting x/y values only. Also, #total is only available in Stacked, Pie and Doughnut Charts. But you can customise toolTip and indexLabel via a custom formatter of your own – you’ll have to write some additional code to find the total. Please refer to following links on the same.


Sunil Urs