Commit be3e107c authored by Brandon Bernal's avatar Brandon Bernal

MAP-5715: Fixed bug that denied view of negative values.

parent 1f6b7983
......@@ -1180,8 +1180,8 @@
if (hasBarType(yTargets) && !hasNegativeValueInTargets(yTargets)) {
padding_bottom = yDomainMin;
}
if (__zero_padding) {
padding_bottom = yDomainMin;
if (__zero_padding && !hasNegativeValueInTargets(yTargets)) {
padding_bottom -= padding_bottom;
}
return [yDomainMin - padding_bottom, yDomainMax + padding_top];
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment