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

Label Position xAxis Radar Chart #2714

Closed
AaronVinh opened this issue Aug 13, 2017 · 2 comments
Closed

Label Position xAxis Radar Chart #2714

AaronVinh opened this issue Aug 13, 2017 · 2 comments

Comments

@AaronVinh
Copy link

I am having trouble adjusting the label distance from the chart. I would like the chart to be bigger, but it automatically adjust to fit the labels which makes the chart too small. I would like to decrease the distance of the label to the chart and increase the radius of the radar chart. I have tried adjusting the labelPosition of the xaxis but it doesn't seem to change anything.

Any pointers could be helpful.
screen shot 2017-08-13 at 4 40 23 pm

@liuxuan30
Copy link
Member

liuxuan30 commented Aug 14, 2017

That's because the text length is large so the contentRect shrinks.
You can workaround this by limiting your text largest size by overriding open func computeSize() in XAxisRendererRadarChart. By default it derives from super class but it's a good place for you to override there.

@albidev
Copy link

albidev commented Oct 28, 2018

Hi @AaronVinh did you solve that?

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

3 participants