svg-projections
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "svg-projections", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Facilities to use svg transforms to project data, rather than d3 scales directly", | ||
@@ -5,0 +5,0 @@ "main": "svgProject.js", |
@@ -21,5 +21,9 @@ 'use strict' | ||
pointTransformX: x => `translate(${xProjection.point(x)})`, | ||
pointTransformX: function(x){ | ||
return `translate(${xProjection.point(x)})` | ||
}, | ||
pointTransformXY: (x, y) => `translate(${xProjection.point(x)}, ${yProjection.point(y)})`, | ||
pointTransformXY: function(x, y){ | ||
return `translate(${xProjection.point(x)}, ${yProjection.point(y)})` | ||
}, | ||
@@ -26,0 +30,0 @@ x: xProjection, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37086
346