I have a Google Chart where the y-axis is measured in minutes.
How can I format the y-axis so the labels display the time in a format like 2hrs40
, or 2:40
, or something similar? I don't want to display the time in raw minutes, and I don't want to display it as a decimal like "1.5" for 90 minutes.
The documentation tells me to use the ICU Pattern Set, but I can't figure it out from that page.
Is this possible? And if I can't format the time like this directly, is there a way I can "hack" the chart after the fact by changing the <svg>
element using Javascript?