Skip to content

textAnchor XAxis prop not respected #7027

@matt-fidd

Description

@matt-fidd

What is the current behavior? (v3.7.0)

Image

What is the expected behavior? (v3.4.1)

Image

Please provide a demo of the problem in a sandbox

https://stackblitz.com/edit/scamyru1?file=src%2FExample.tsx

Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?

I noticed this when upgrading from recharts 3.4.1 to 3.7.0, only the version changed, my code stayed the same. The screenshots are from the same app, with the different recharts versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugGeneral bug label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions