Skip to content

Recharts 3: Some grid lines are missing on BarChart #8110

@torokati44

Description

@torokati44

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

8.2.1

What package has an issue?

@mantine/charts

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

All

Describe the bug

See this chart at https://ruffle.rs/compatibility:
Image

The same chart, after switching to Recharts 3:
Image

Source at: https://github.com/ruffle-rs/ruffle-rs.github.io/blob/master/src/app/compatibility/weekly_contributions.tsx

Linking #8001 and ruffle-rs/ruffle-rs.github.io#435.

Workaround - adding this invisible line makes the grid lines appear correctly again:

      <ReferenceLine
        y={0}
        stroke="transparent"
        ifOverflow="extendDomain"
      />

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions