Custom text formatter for Label on ApexChart Js Library

I want to add custom text formatter (mainly currency) on the label of my chart, how do i do that? Here’s how my chart currently looks like

And here’s the code for generating the chart

                                .withColors("#f3f3f3", "transparent")
                                .withText("Total (Rp.)")

Sorry if this is not really about flow but more of library, but many thanks!