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

add hide_labels to stacked bar graphs #450

Merged
merged 2 commits into from
Sep 14, 2020

Conversation

elrayle
Copy link
Contributor

@elrayle elrayle commented Sep 13, 2020

No description provided.

end

def hide_bottom_label_area?
hide_labels?
Copy link
Contributor Author

@elrayle elrayle Sep 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bar was updated to match the changes in base.

@elrayle
Copy link
Contributor Author

elrayle commented Sep 13, 2020

@Watson1978 Ready for review. Includes changes to base that facilitate extending this to side graphs.

def hide_bottom_label_area?
@hide_line_markers
end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in base set the stage for side bar graphs.

@datasets = [
[:Jimmy, [25, 36, 86, 39]],
[:Charles, [80, 54, 67, 54]],
[:Julie, [2, 29, 35, 38]]
Copy link
Contributor Author

@elrayle elrayle Sep 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that having Julie start with 2 instead of 22 was intentional. This could be updated to use the default data like the other tests. The test passes with this data.

[:Charles, [80, 54, 67, 54]],
[:Julie, [2, 29, 35, 38]]
]
g = setup_basic_graph
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored the tests to use the setup_basic_graph pattern seen in other test sets.

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.

None yet

2 participants