data-driven-range-slider
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
d3 = require('d3'); | ||
d3 = window.d3||require('d3'); | ||
@@ -300,3 +300,3 @@ class RangeSlider { | ||
dateExtent = d3.extent(dataFinal.map(accessorFunc)); | ||
dateRangesCount = Math.round(width / 5); | ||
dateRangesCount = Math.round(calc.chartWidth / 5); | ||
dateScale = d3.scaleTime().domain(dateExtent).range([0, dateRangesCount]); | ||
@@ -388,3 +388,2 @@ scaleTime = d3.scaleTime().domain(dateExtent).range([0, calc.chartWidth]); | ||
const attrs = that.getChartState(); | ||
debugger | ||
var minX = attrs.minX; | ||
@@ -577,2 +576,3 @@ var maxX = attrs.maxX; | ||
module.exports = TreeChart; | ||
typeof module!='undefined' && (module.exports = RangeSlider); | ||
{ | ||
"name": "data-driven-range-slider", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "d3.js based data driven range slider", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
18671
499