source:
Dev/branches/jQueryUI/client/d3/src/scale/scale.js
@
249
Last change on this file since 249 was 249, checked in by hendrikvanantwerpen, 13 years ago | |
---|---|
File size: 166 bytes |
Line | |
---|---|
1 | d3.scale = {}; |
2 | |
3 | function d3_scaleExtent(domain) { |
4 | var start = domain[0], stop = domain[domain.length - 1]; |
5 | return start < stop ? [start, stop] : [stop, start]; |
6 | } |
Note: See TracBrowser
for help on using the repository browser.