|
else { |
|
var min_value = min(data, getValue); |
|
|
|
domain = [ |
|
min_value < 0 ? min_value : 0, |
|
max(data, getValue) |
|
]; |
|
} |
Does not work for time (and probably a lot of other scale types). The first time is always going to be > 0. But, we should still use the min value from the series.
d3.compose/src/helpers/create-scale.js
Lines 137 to 144 in 3e8a75f
Does not work for
time(and probably a lot of other scale types). The first time is always going to be > 0. But, we should still use the min value from the series.