flot
Advanced tools
Comparing version 3.2.13 to 4.0.0
{ | ||
"name": "flot", | ||
"version": "3.2.13", | ||
"version": "4.0.0", | ||
"main": "dist/es5/jquery.flot.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -590,3 +590,3 @@ /** | ||
fillTowards = series.bars.fillTowards || 0, | ||
calculatedBottom = fillTowards > axisy.min ? Math.min(axisy.max, fillTowards) : axisy.min; | ||
defaultBottom = fillTowards > axisy.min ? Math.min(axisy.max, fillTowards) : axisy.min; | ||
@@ -599,3 +599,3 @@ for (var i = 0; i < points.length; i += ps) { | ||
// Use third point as bottom if pointsize is 3 | ||
var bottom = ps === 3 ? points[i + 2] : calculatedBottom; | ||
var bottom = ps === 3 ? points[i + 2] : defaultBottom; | ||
drawBar(points[i], points[i + 1], bottom, barLeft, barRight, fillStyleCallback, axisx, axisy, ctx, series.bars.horizontal, series.bars.lineWidth); | ||
@@ -602,0 +602,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
983700
19489