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

Scale diagram #17

Merged
merged 9 commits into from
Mar 3, 2014
Merged

Scale diagram #17

merged 9 commits into from
Mar 3, 2014

Conversation

mpelikan
Copy link
Contributor

@mpelikan mpelikan commented Mar 3, 2014

Sometimes the generated diagram is larger than the bounds of the SVG. This fix applies a scale to ensure that the generated diagram is within bounds and then applies the centering (center_diagram branch).

@benfred
Copy link
Owner

benfred commented Mar 3, 2014

Thanks! - this looks like it also fixes issue #7 , and does so in a much better way than I was thinking

Just to verify though, it was only the labels on the diagram getting clipped right? otherwise there might be a bug in the 'venn.scaleSolution' call

benfred pushed a commit that referenced this pull request Mar 3, 2014
@benfred benfred merged commit 4a04386 into benfred:master Mar 3, 2014
@mpelikan
Copy link
Contributor Author

mpelikan commented Mar 4, 2014

I believe that it was only the labels. I cannot say for sure, since I had the code (center diagram) in place.

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.

2 participants