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

Legend style css bug #614

Open
ekiankim92 opened this issue Jun 25, 2024 · 0 comments
Open

Legend style css bug #614

ekiankim92 opened this issue Jun 25, 2024 · 0 comments

Comments

@ekiankim92
Copy link

I'm currently using apexcharts in Next.js project with tanstack/react-query. I found a issue or a bug where when charts are rendered, legends in those charts are broken (css wise). This is occurring sporadically so it's difficult to find a way to approach this issue. Is there any idea or an approach how to fix this issue?

I used itemMargin.horizontal to give space between the legends. 

    legend: {
      position: 'bottom',
      markers: {
        width: 16,
        height: 4,
      },
      onItemHover: {
        highlightDataSeries: true,
      },
      itemMargin: {
        horizontal: 10,
      },
      labels: {
        colors: '#FFFFFF',
      },
    },

Screenshot 2024-06-25 at 1 46 14 PM
Screenshot 2024-06-25 at 1 55 18 PM
Screenshot 2024-06-25 at 1 55 34 PM
Screenshot 2024-06-25 at 1 55 27 PM
Screenshot 2024-06-25 at 1 55 21 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant