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

How to set space between Y-Axis labels and graph #4237

Closed
Sinan-Noureddine opened this issue Dec 1, 2019 · 2 comments
Closed

How to set space between Y-Axis labels and graph #4237

Sinan-Noureddine opened this issue Dec 1, 2019 · 2 comments

Comments

@Sinan-Noureddine
Copy link

Sinan-Noureddine commented Dec 1, 2019

Hello, How can i add padding/space between YAxis-labels and the graph. By default the labels are sticking to the graph as shown in the first image.

Screen Shot 2019-12-02 at 12 35 04 AM

How can i add space so that it becomes something like this

Screen Shot 2019-12-02 at 12 30 20 AM

@Sinan-Noureddine
Copy link
Author

I found the answer for that. You need to add Offset to the labels as below

lineChart.leftAxis.xOffset = 10.0

@alejandrocabriales
Copy link

this don't work for me

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