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

ChartLimitLine: How to customize label background and Position center of line #1787

Closed
nhuomtangnextop opened this issue Nov 4, 2016 · 2 comments

Comments

@nhuomtangnextop
Copy link

ChartLimitLine: How to customize label background and Position center of line

@liuxuan30
Copy link
Member

liuxuan30 commented Nov 9, 2016

we don't support this right now. Take a look at ChartLimitLine class and override open func renderLimitLineLabel to have a rect as your background. The position can be changed as well.

@aakashtandukar
Copy link

aakashtandukar commented Jan 18, 2019

if (maxvalue > maxvalue/2){
ChartLimitLine.labelPosition = ChartLimitLabelPositionLeftBottom;
}else{
ChartLimitLine.labelPosition = ChartLimitLabelPositionLeftTop;
}

just at alternative.

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