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

Graph is being drawn outside of visible area #2373

Closed
daffodilistic opened this issue Apr 19, 2017 · 1 comment
Closed

Graph is being drawn outside of visible area #2373

daffodilistic opened this issue Apr 19, 2017 · 1 comment

Comments

@daffodilistic
Copy link

Hi,

I'm using the charts library as a custom renderer in a PCL project. As seen in this screenshot, the render area for the line chart seems to be drawn offscreen. Before data is loaded however, the text saying "No data is available" is shown.

The pie chart and bar chart are also exhibiting this "offscreen drawing" behavior as well. Am I coding the custom renderer wrongly somewhere?

@liuxuan30
Copy link
Member

liuxuan30 commented Apr 20, 2017

Start with your UIView frame first. If your UIView is in right position, it should be displayed correctly. As you see we don't touch any frames. It just draw inside the view.

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