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 adjust RadarChartView text from the bottom of the height? #2621

Closed
githubkiven opened this issue Jul 20, 2017 · 4 comments
Closed

Comments

@githubkiven
Copy link

I set the cell height to 240,I set the RadarChartView height to 240,But there is a blank at the bottom,I want to keep the bottom of the pitch smaller,How should i set it up?thank you very much
91631928-e9d7-4fc6-a7f2-46cd80ff23fc

@githubkiven
Copy link
Author

I want the effect
04d66292-9149-4fa2-b6c9-6ce32a751a9b

@liuxuan30
Copy link
Member

use extraBottomOffset should help
But I suggest you look at how the blank is calcuated, either if it's in legend offset, or just the contentRect offset

@githubkiven
Copy link
Author

        self.radarChartView = [PPWUtils radarChartView];
        self.radarChartView.backgroundColor = [UIColor orangeColor];
        [self.radarChartView setDrawMarkers:YES];
        self.radarChartView.frame = CGRectMake(20, 0, kScreenWidth-40, 246);
        [self.contentView addSubview:self.radarChartView];
        self.radarChartView.delegate = self;

@githubkiven
Copy link
Author

I just set the size of the radarChartView, the bottom of the blank so much @liuxuan30

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