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

Implemented auto scaling of DonutChart #86

Closed
wants to merge 1 commit into from
Closed

Implemented auto scaling of DonutChart #86

wants to merge 1 commit into from

Conversation

thomai-d
Copy link

Hi Alois,

thanks for your awesome, simple and well written charting lib.

I used the DonutChart on a mobile device and ran into the same troubles as #85.

So I extended your code to automatically calculate the drawable chart area - at least for the DonutChart:
resize

For future debugging I thought it might be useful to leave my debugging rectangles in the code - activatable by setting Chart.DrawDebugRectangles.

Also I found it useful to turn all the labels for the DonutChart to the right side to display a bigger chart on mobile devices in portrait form (DonutChart.CaptionOnTheRight)
right

This is my first pull request on github. If I missed something, please let me know.

Thomas

@thomai-d
Copy link
Author

I see this branch also covers #65

@thomai-d thomai-d closed this Apr 30, 2018
@thomai-d thomai-d deleted the feature/DonutChartImprovements branch April 30, 2018 20:46
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

Successfully merging this pull request may close these issues.

1 participant