@flourish/chart-layout
Advanced tools
Comparing version 9.5.2 to 9.5.3
{ | ||
"name": "@flourish/chart-layout", | ||
"version": "9.5.2", | ||
"version": "9.5.3", | ||
"description": "Create axes", | ||
@@ -5,0 +5,0 @@ "main": "chart-layout.js", |
@@ -0,1 +1,4 @@ | ||
# 9.5.3 | ||
* Fix issue introduced in `9.5.2` which was preventing string labels from appearing in ticks | ||
# 9.5.2 | ||
@@ -2,0 +5,0 @@ * Fix issue where NaN values were appearing in ticks |
@@ -241,3 +241,3 @@ import { select } from "d3-selection"; | ||
.attr("dy", function(d, i) { return i ? x.tick_label_line_height + "em" : 0; }) | ||
.text(function(d) { return isNaN(d) ? "" : d; }); | ||
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; }); | ||
tspans.exit().remove(); | ||
@@ -479,3 +479,3 @@ }) | ||
.attr("dy", function(d, i) { return i ? x.tick_label_line_height + "em" : 0; }) | ||
.text(function(d) { return isNaN(d) ? "" : d; }); | ||
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; }); | ||
tspans.exit().remove(); | ||
@@ -482,0 +482,0 @@ }) |
@@ -210,3 +210,3 @@ import { select } from "d3-selection"; | ||
.attr("dy", function(d, i) { return i ? y.tick_label_line_height + "em" : 0; }) | ||
.text(function(d) { return isNaN(d) ? "" : d; }); | ||
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; }); | ||
tspans.exit().remove(); | ||
@@ -213,0 +213,0 @@ }) |
@@ -208,3 +208,3 @@ import { select } from "d3-selection"; | ||
.attr("dy", function(d, i) { return i ? y.tick_label_line_height + "em" : 0; }) | ||
.text(function(d) { return isNaN(d) ? "" : d; }); | ||
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; }); | ||
tspans.exit().remove(); | ||
@@ -211,0 +211,0 @@ }) |
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
437005
0