Currently, we allow users to format a y axis/series to a percentage, we should allow other options.
Acceptance Criteria:
[ ] I can select other options for formatting when I have a field on the x axis, y-axis/series
[ ] I can change the formatting to a specific prefix + suffix
[ ] I can add a currency formatting
[ ] I can round the values
[ ] I can change the separator if the values are numeric
[ ] When I make these changes, I shouldn't trigger a new query against the warehouse. This should just change the echarts spec with the formatter-related properties/methods
Implementation suggestion
Look into: CustomFormat and use it instead of the enum Format.
Perhaps we can have a Popover to further improve this experience? Check table calculations' way of formatting, that will help.
What problem does this solve?
Improves Data visualization, clearer communication of insights gathered
Description
Thread: https://lightdash.slack.com/archives/C02DGV9RWKV/p1726318173680439
Currently, we allow users to format a y axis/series to a
percentage
, we should allow other options.Acceptance Criteria:
Implementation suggestion
Look into:
CustomFormat
and use it instead of the enumFormat
. Perhaps we can have a Popover to further improve this experience? Check table calculations' way of formatting, that will help.What problem does this solve?
Improves Data visualization, clearer communication of insights gathered