Sha256: 6e995a008c5e5cdbc812bcf8361b091a49220bdbffda03145dc2f8945eda8dd1
Contents?: true
Size: 283 Bytes
Versions: 30
Compression:
Stored size: 283 Bytes
Contents
d3.scale = {}; function d3_scaleExtent(domain) { var start = domain[0], stop = domain[domain.length - 1]; return start < stop ? [start, stop] : [stop, start]; } function d3_scaleRange(scale) { return scale.rangeExtent ? scale.rangeExtent() : d3_scaleExtent(scale.range()); }
Version data entries
30 entries across 30 versions & 4 rubygems