Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Correct calculated height of bar chart #17

Merged
merged 1 commit into from
Jan 10, 2017

Conversation

relvacode
Copy link
Contributor

When using a multi-line label on a bar chart, the total height of the chart box is miscalculated causing the bar labels to render outside of the chart canvas.

This pull request fixes this by correctly growing the canvas by using math.MinInt instead of math.MaxInt.

@wcharczuk wcharczuk merged commit 47a8a6b into wcharczuk:master Jan 10, 2017
@wcharczuk
Copy link
Owner

thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants