-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Hide Axis #1447
Hide Axis #1447
Conversation
Please help. The Scrutinizer failed because of - scrutinizer.test_coverage, < 0 # Code Coverage decreased from previous inspection by 0.011%. Can someone let me know what I need to do to get this pass the check. |
I think you've added two new methods, but haven't added any tests which exercise them, which is why Code Coverage has decreased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep simpler getter/setter here, so getAxisVisibilty and setAxisVisibilty (insted of showAxis/hideAxis). Both methods should use boolean instead of int.
Also the reader should be updated to be able to read that new property.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Equivalent functionality was added by PR #2950 in July 2022. |
Allows developer to hide an axis fully (by default it is shown).
This is:
Checklist:
Why this change is needed?
Issue #1446
Allows the developer to fully hide a chart axis. Chart.php currently hardcodes axis to always be displayed.
The updated code asks the axis if it is visible.
This is my first time submitting a pull request for PhpSpreadsheet. I have several more I would like to provide. Any suggestions to make the process smoother on both are ends would be appreciated.