Formatting currency for different chart types


I use 4 chart types: scatter(line), bar, pie and treemap.

For scatter and bar (charts that accept x and y axis), I passed info to chartLayout and formatted there with hoverformat.

However for charts that don’t accept x and y axis (pie and treemap) I haven’t found same solution, but I had to provide hovertemplate inside data series itself.

Have I missed something, or is there no unified way to provide format to hover info across charts?