You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BarChart component doesn't expose props to set units of measurement of X and Y axes.
Our specific use case is a frequency (percentage) histogram:
We have percentage on Y axis and age buckets on X axis. Wrt to the screenshot, I would ignore the cumulative frequency in the legend unless this is offered by the library (It doesn't seem to be a standard feature).
I believe unit of measurement should be also reported in the tooltip (but I'm unsure what's standard behavior with recharts, this might not be a mandatory feature).
The frequency histogram is a specific use case in which the X axis unit can be omitted: "Age" in the title seems clear enough. However, I suppose setting X axis unit will be useful in general.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The BarChart component doesn't expose props to set units of measurement of X and Y axes.
Our specific use case is a frequency (percentage) histogram:
We have percentage on Y axis and age buckets on X axis. Wrt to the screenshot, I would ignore the cumulative frequency in the legend unless this is offered by the library (It doesn't seem to be a standard feature).
I believe unit of measurement should be also reported in the tooltip (but I'm unsure what's standard behavior with recharts, this might not be a mandatory feature).
The frequency histogram is a specific use case in which the X axis unit can be omitted: "Age" in the title seems clear enough. However, I suppose setting X axis unit will be useful in general.
Beta Was this translation helpful? Give feedback.
All reactions