react-charts
react-charts copied to clipboard
Support tickCount for X axis
tickCount can be set on a Y axis to reduce the amount of ticks that are shown.
I would like to be able to do the same for the X axis.
const primaryAxis = React.useMemo(
() => ({
// ...
tickCount: 5
// ...
}), []
);
Currently, since I am showing every day for the next year, the X axis labels become unreadable. I am doing this to get a chart that is as detailed as possible.

Same here!