I would like to be able to format the values that are displayed in
hoverinfo for pie chart. Here is a codepen for context: http://codepen.io/anon/pen/BQLoOO.
How can I go about formatting each of the value in
allValues so it can show up as
1.8k, 600, 3.6k if they are integers or show up as
00:30:00, 00:10:00, 01:00:00 if they are seconds?