Open
Description
openedon Oct 18, 2023
Describe the issue
- Go here: https://codesandbox.io/s/long-legend-sizing-forked-h83q6s?file=/src/App.tsx:127-134 and analyze the code, specifically the passed
valueFormatter
. - It will never run if the value is not a number
- If you change it to number, the
valueFormatter
runs
Specifically, here's my usecase: I am working on adding other types of data to be supported by visualization ('string', 'boolean', 'number', 'ip', 'date') to match the legacy metric.
While strings, booleans and ip don't need extra format to be passed, we need it for dates as we get them as strings. Not sure if there's another way to handle that. Let me know if that's not a bug and there is another way!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment