Skip to content

[Feature]: Different number format for tooltips and Axis labels #2279

Description

@archiewood

Description

The ability to use a different number format for the y axis vs the tooltip

What problem would this solve?

Often want to show more precision on the tooltip than the axis, for example

How should it work?

<BarChart
  data={orders_by_month}
  y=sales
  yFmt=usd1k
  yAxisLabelFmt=usd0k
/>

Activity

locked and limited conversation to collaborators on Aug 14, 2024
converted this issue into a discussion #2431 on Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions