Browse Source

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

pull/254/head
Brandon Bernal 11 years ago
parent
commit
be3e107cbb
  1. 4
      c3.js
  2. 2
      c3.min.js

4
c3.js

@ -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];
}

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save