Is your change request related to a problem? Please describe.
The y axis of bar plots should always start at zero, if all values are greater-equal zero or all are lower-equal zero. This does currently not happen, because it follows the approach of usual plots, where no data point shall touch the horizontal boundaries.
Describe the solution you'd like
If the user wants to have a bar chart, ensure that the y plot boundaries are either opposite in sign or that the one closest to zero is actual zero before extending the interval by 10% in total.
Describe possible alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered, if any.
Additional context
Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
Should be insertable into the function Plot::fitPlotRanges(...).
DESCRIPTION
Is your change request related to a problem? Please describe. The y axis of bar plots should always start at zero, if all values are greater-equal zero or all are lower-equal zero. This does currently not happen, because it follows the approach of usual plots, where no data point shall touch the horizontal boundaries.
Describe the solution you'd like If the user wants to have a bar chart, ensure that the y plot boundaries are either opposite in sign or that the one closest to zero is actual zero before extending the interval by 10% in total.
Describe possible alternatives you've considered A clear and concise description of any alternative solutions or features you've considered, if any.
Additional context Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
Should be insertable into the function
Plot::fitPlotRanges(...)
.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST