Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

setXAxisMaxLabelCount() not to affect Y Axis in HeatMapCharts #565

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

mccartney
Copy link
Collaborator

Fixes #564.

Note that the unit test code looks somewhat ugly due to it using reflection to get to private fields (axisPair, yAxis). An alternative would be to increase the visibility for these two members. I am not sure if a unit test is a good enough reason for that.

@timmolter
Copy link
Member

Let me look at it once I have a moment. Maybe we can increase the visibility.

@mccartney
Copy link
Collaborator Author

@timmolter any opinion on the unit test here?

@timmolter timmolter merged commit 7d772c7 into knowm:develop Nov 5, 2021
@timmolter
Copy link
Member

it looks like it made the build fail: https://github.com/knowm/XChart/runs/4121420139?check_suite_focus=true

@mccartney
Copy link
Collaborator Author

Yep. Looking into it. I wonder why didn't the branch-build catch it then?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using setXAxisMaxLabelCount against a HeatMapChart alters both axes
2 participants