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

Angular Chart X-axis Text overlap on each other #199

Open
santoshshinde2012 opened this issue Apr 9, 2015 · 6 comments
Open

Angular Chart X-axis Text overlap on each other #199

santoshshinde2012 opened this issue Apr 9, 2015 · 6 comments

Comments

@santoshshinde2012
Copy link

First, let me thank you for your grate code which is helpful for me.

Second,I have use this code with ionic framework i got result properly but unfortunately my x-axis chart text overlap on each other.

Please help me what i will do with this or any changes in code which show text properly or any another solution.
screenshot_2015-04-09-10-23-51

screenshot_2015-04-09-10-23-43

@lvarayut
Copy link

Did you figure it out? I'm facing the same issue.

@santoshshinde2012
Copy link
Author

This issue on small screen device , you may be solved by using notation on x - axis.

@lvarayut
Copy link

@santoshshinde2012 Thanks for your response. Could you give me some example?

@santoshshinde2012
Copy link
Author

Simple way to use single character on x axis and it define on next screen

@lvarayut
Copy link

I'm not sure what do you mean. Did you mean setting the xAxisTickFormat option? Could you show some code example instead?

@AVatch
Copy link

AVatch commented Sep 15, 2015

I would suggest for the option to rotate the x-axis text so that it is vertical this way you can have longer text without overlapping, like timestamps.

screen shot 2015-09-15 at 12 41 51 pm

I believe d3 has this: http://stackoverflow.com/questions/11252753/rotate-x-axis-text-in-d3

This can be configured in the config property

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