-
Notifications
You must be signed in to change notification settings - Fork 281
Closed
Description
Is it possible to display integer-only ticks in an YAxis? I tried using the format property, but it didn't work.
Here's my code for it:
<YAxis
id="axisDonors"
label="Investors"
style={axisStyle}
min={0}
max={maxDonors}
format="d"
width="60"
type="linear"
/>Here's an example of what I'm getting (see the YAxis on the left):
I'd like to have only 2 ticks: 1 and 2.
Is it possible?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels
