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

Device Orientation not detected when using Charts module #2469

Closed
aravinth02 opened this issue May 24, 2017 · 3 comments
Closed

Device Orientation not detected when using Charts module #2469

aravinth02 opened this issue May 24, 2017 · 3 comments

Comments

@aravinth02
Copy link

Device orientation works well with the ChartDemo sample app but the orientation is not detecting when i create a own sample charts by having the chart module in separate application.

I don't know what's been missing when compared with ChartDemo sample app ?

I think the orientation was handled by using value change observer on keys "frame" or "bound". Please correct me if am wrong

Thanks !!

@liuxuan30
Copy link
Member

I don't understand, the orientation should be handled by you.

@aravinth02
Copy link
Author

Could you please tell how and where the device orientation was handled in ChartsDemo app

Thanks

@liuxuan30
Copy link
Member

liuxuan30 commented Jun 5, 2017

In the view controllers it will detect rotation, and there is a frame observer updating the frame and redraw the chart

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