@fishawack/lab-d3
Advanced tools
Comparing version 2.6.0 to 2.6.1
{ | ||
"name": "@fishawack/lab-d3", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Abstract layer built on top of d3", | ||
@@ -5,0 +5,0 @@ "vars": { |
@@ -233,2 +233,5 @@ ## Background | ||
### 2.6.1 | ||
* Fixed bug in min/max calc where it wasn't checking the min/max when wrote as separate properties | ||
### 2.6.0 | ||
@@ -235,0 +238,0 @@ * Fixed bug in StackedBars so the animate correctly |
@@ -261,2 +261,10 @@ "use strict"; | ||
value = value[_minmax === 'min' ? 0 : 1]; | ||
} // Check if min/max values exist and if they are are they higher than value itself, if so use these as min/max | ||
// This is kind of a duplicate of minmax above, the gantt uses minmax: [], where the rest use min: value, ma: val | ||
// Doing it here though as this may still be true even afte the accum calculated above so still check here | ||
// Need to rejig this function | ||
if (dd.hasOwnProperty(_minmax)) { | ||
value = Shared[_minmax]([value, dd[_minmax]], scale, att); | ||
} | ||
@@ -263,0 +271,0 @@ |
562346
5441
557