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

Remove Unnecessary Spacing in Charts #44

Closed
jsinhSolanki opened this issue Jan 21, 2019 · 2 comments
Closed

Remove Unnecessary Spacing in Charts #44

jsinhSolanki opened this issue Jan 21, 2019 · 2 comments

Comments

@jsinhSolanki
Copy link

Hey, I am using apexchart in my project and I want to create a card which have full width charts.
So, I dont need any labels, legend etc. But even if I remove everything still I have some space around chart. Which I dont want. I want to cover that card/div with only chart(No Spaces).

Problem Demo:
JSFiddle

What I Want:
charts

@junedchhipa
Copy link
Contributor

You can try removing left/right padding by

grid: {
  padding: {
   left: 0,
   right: 0
  }
}

A full example of your updated jsfiddle

@jsinhSolanki
Copy link
Author

Thanks @junedchhipa.

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

2 participants