| import "linear"; | |
| import "scale"; | |
| d3.scale.identity = function() { | |
| return d3_scale_identity([0, 1]); | |
| }; | |
| function d3_scale_identity(domain) { | |
| function identity(x) { return +x; } | |
| identity.invert = identity; | |
| identity.domain = identity.range = function(x) { | |
| if (!arguments.length) return domain; | |
| domain = x.map(identity); | |
| return identity; | |
| }; | |
| identity.ticks = function(m) { | |
| return d3_scale_linearTicks(domain, m); | |
| }; | |
| identity.tickFormat = function(m, format) { | |
| return d3_scale_linearTickFormat(domain, m, format); | |
| }; | |
| identity.copy = function() { | |
| return d3_scale_identity(domain); | |
| }; | |
| return identity; | |
| } | |
Xet Storage Details
- Size:
- 653 Bytes
- Xet hash:
- 2a3c8d2c91e4fcc796184246d0f5162f623d8d5d79059819851a7beace1c92a8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.