Hi folks, is there a way to format the numbers in a Dash Slider tooltip, e.g. with a thousands comma or a percentage sign?
I want to avoid making a separate slider label and corresponding callback for this task.
Thanks for your attention.
Hi folks, is there a way to format the numbers in a Dash Slider tooltip, e.g. with a thousands comma or a percentage sign?
I want to avoid making a separate slider label and corresponding callback for this task.
Thanks for your attention.
I think you can achieve this through defining the marks
parameter.
@sislvacl can you please elaborate, e.g. with code for a thousands comma?
Sorry, I didn’t find time to look into it in more detail. But I recently tried to solve a similar problem and ended up submitting a feature request. You can add your comment there to increase the chance of the feature getting implemented…
Seems this feature request still hasn’t been implemented! Given that this functionality is already present on the React side as mentioned in the feature request, it would seem trivial to add access to this property in Dash Python.