I am trying define some âformatterâ to be displayed on my dmc.LineChart component on the tooltip level (and also the y-axis) but I donât seem to find any way to currently do so. The recharts documentation says that you can set a âformatterâ function on the tooltip component level but this doesnât seem to be accessible from the dmc component in Dash.
This seems like a pretty basic functionality on graphs, am I missing something or is this just not doable at the moment?
See my screenshot attached that display one example of a tooltip in my LineChart that I would like to format to something like : â241,203.9â.
Typically Dash does not allow functions to be passed in props. There are certain libraries which have enabled this like dash-ag-grid. Itâs on the roadmap to add this feature to dash-mantine-components, but it is not available yet.
Thank you for you solution using plotlyexpress. I wanted to use dmc chart library as I think they are way cleaner but seems like what I want is not achievable at the moment.