@flourish/chart-layout
Advanced tools
Comparing version
{ | ||
"name": "@flourish/chart-layout", | ||
"version": "9.4.0", | ||
"version": "9.4.1", | ||
"description": "Create axes", | ||
@@ -5,0 +5,0 @@ "main": "chart-layout.js", |
@@ -0,1 +1,4 @@ | ||
# 9.4.1 | ||
* Revert to using `obj.prop !== undefined` to determine if `prop` is in `obj` | ||
# 9.4.0 | ||
@@ -2,0 +5,0 @@ * Add option to put y/y2 axis titles at the top/bottom |
@@ -217,6 +217,6 @@ import { remToPx, getFont } from "../common"; | ||
top = ("top" in overrides) ? overrides.top : calculated_top; | ||
right = ("right" in overrides) ? overrides.right : calculated_right; | ||
bottom = ("bottom" in overrides) ? overrides.bottom : calculated_bottom; | ||
left = ("left" in overrides) ? overrides.left : calculated_left; | ||
top = overrides.top !== undefined ? overrides.top : calculated_top; | ||
right = overrides.right !== undefined ? overrides.right : calculated_right; | ||
bottom = overrides.bottom !== undefined ? overrides.bottom : calculated_bottom; | ||
left = overrides.left !== undefined ? overrides.left : calculated_left; | ||
}; | ||
@@ -223,0 +223,0 @@ |
Sorry, the diff of this file is too big to display
425664
0.03%