Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix XAxis scale property type #2641

Merged
merged 1 commit into from Sep 18, 2021
Merged

Commits on Aug 30, 2021

  1. Fix XAxis scale propery type

    Currently we can't pass function to XAxis scale property because we get `is not assignable to type 'number & Function'` error from typescript
    Omitting scale prop fixes this issue (it's already done for YAxis https://github.com/recharts/recharts/blob/master/src/cartesian/YAxis.tsx#L32)
    mastergenius committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    adbf448 View commit details
    Browse the repository at this point in the history