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 can i override the xAxisrenderer in RadarChartView #4189

Closed
1 task done
EternalChildren opened this issue Oct 23, 2019 · 1 comment
Closed
1 task done

How can i override the xAxisrenderer in RadarChartView #4189

EternalChildren opened this issue Oct 23, 2019 · 1 comment

Comments

@EternalChildren
Copy link

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

I want to customize the xAxis's labels position.
The function to draw a radar x-axis label is drawLabel in XAxisRendererRadarChart.
i can override XAxisRendererRadarChart to achieve what i want.
but i can't override the initialize which is set _xAxisRenderer in RadarChartView. and also i can't override _xAxisRenderer in other way.
so how can i do?

@liuxuan30
Copy link
Member

you should be able to override initialize if you are in the same framework. So I'd suggest grab the source code and override it, or just modify the source code.

anhtuanqn1002 pushed a commit to anhtuanqn1002/Charts that referenced this issue Nov 26, 2019
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