@flourish/chart-layout
Advanced tools
Comparing version 9.4.1 to 9.4.2
{ | ||
"name": "@flourish/chart-layout", | ||
"version": "9.4.1", | ||
"version": "9.4.2", | ||
"description": "Create axes", | ||
@@ -5,0 +5,0 @@ "main": "chart-layout.js", |
@@ -0,1 +1,4 @@ | ||
# 9.4.2 | ||
* Fix background positioning | ||
# 9.4.1 | ||
@@ -2,0 +5,0 @@ * Revert to using `obj.prop !== undefined` to determine if `prop` is in `obj` |
@@ -8,7 +8,4 @@ function initBackgroundUpdating(instance, state) { | ||
return function() { | ||
var x_range = instance.xScale().range(); | ||
var y_range = instance.yScale().range(); | ||
var x = x_range[0]; | ||
var y = y_range[1]; | ||
var x = instance.x_left; | ||
var y = instance.y_top; | ||
var width = Math.max(instance.plot_width, 1); | ||
@@ -15,0 +12,0 @@ var height = Math.max(instance.plot_height, 1); |
Sorry, the diff of this file is too big to display
425544
10388