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

Display X-axis and y-axis names and Can i display x axis values vertically #403

Closed
smilydronavalli opened this issue Sep 21, 2015 · 4 comments

Comments

@smilydronavalli
Copy link

Hi,

Please Any one help me display x axis and y-axis Titles and display x axis coordinate names as vertically.

@liuxuan30
Copy link
Member

Could you give an example to clarify axis title and coordinate names?

Currently it supports display axis labels already

@smilydronavalli
Copy link
Author

Hi,

I want to display like the below image
screen shot 2015-09-21 at 6 50 24 pm

@liuxuan30
Copy link
Member

For the title, I think we don't support this right now. But since it's quite simple, you could actually add the UIlabel by yourself outside of the chart view as a workaround.

For the Label directions on x axis - you need also to add your customizations in the drawLabels in xAxisRenderer and rewrite ChartUtils.drawMultilineText method, or create a new method to draw to get what you want.

Feel free to reopen it if you have more questions.

@smilydronavalli
Copy link
Author

Hi,

Can You tell me clearly how to use drawLabels in xAxisRenderer

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