Merge lp:~widelands-dev/widelands/cleanup-statistics-plotter into lp:widelands
Status: | Merged |
---|---|
Merged at revision: | 9075 |
Proposed branch: | lp:~widelands-dev/widelands/cleanup-statistics-plotter |
Merge into: | lp:widelands |
Diff against target: |
132 lines (+36/-16) 3 files modified
src/wui/general_statistics_menu.cc (+1/-1) src/wui/plot_area.cc (+34/-14) src/wui/ware_statistics_menu.cc (+1/-1) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/cleanup-statistics-plotter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+365138@code.launchpad.net |
Commit message
Clean-up statistics' plotter:
- add ticks at 1/4 and 3/4 on the y-axes
- move y-axes ticks to the right
- draw max_value atop the y-axes
- draw a 0 instead of -0
- draw min value instead of 0
- make min_value green
Description of the change
The old plot was a little hard to read, so I did some tweaking.
Here are some comparison pictures:
https:/
https:/
https:/
https:/
https:/
https:/
Since it there a no breaking changes, it would be nice if it could
be part of b20. Assumed you agree with the changes.
Continuous integration builds have changed state:
Travis build 4654. State: errored. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 511761507. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ cleanup_ statistics_ plotter- 4441.
Appveyor build 4441. State: success. Details: https:/