@flourish/chart-layout
Advanced tools
Comparing version 1.0.0-prerelease.4 to 1.0.0-prerelease.5
{ | ||
"name": "@flourish/chart-layout", | ||
"version": "1.0.0-prerelease.4", | ||
"version": "1.0.0-prerelease.5", | ||
"description": "Create axes", | ||
@@ -5,0 +5,0 @@ "main": "chart-layout.js", |
@@ -23,2 +23,3 @@ var X_DEFAULTS = Object.freeze({ | ||
gridline_color: "#eeeeee", | ||
gridline_width: 0.075, | ||
gridline_style: "solid", | ||
@@ -25,0 +26,0 @@ |
@@ -23,2 +23,3 @@ var Y_DEFAULTS = Object.freeze({ | ||
gridline_color: "#eeeeee", | ||
gridline_width: 0.075, | ||
gridline_style: "solid", | ||
@@ -25,0 +26,0 @@ |
@@ -42,2 +42,3 @@ import { remToPx } from "../../utils"; | ||
var vertical_lines = vertical.selectAll("line").data(v_data, function(d) { return d.type + "-" + d.value; }); | ||
var vertical_line_width = remToPx(x.gridline_width); | ||
@@ -47,2 +48,3 @@ vertical_lines.exit() | ||
.style("stroke", x.gridline_color) | ||
.style("stroke-width", vertical_line_width) | ||
.transition() | ||
@@ -64,2 +66,3 @@ .duration(animation_duration) | ||
.style("stroke", x.gridline_color) | ||
.style("stroke-width", vertical_line_width) | ||
.transition() | ||
@@ -73,2 +76,3 @@ .duration(animation_duration) | ||
var horizontal_lines = horizontal.selectAll("line").data(h_data, function(d) { return d.type + "-" + d.value; }); | ||
var horizontal_line_width = remToPx(y.gridline_width); | ||
@@ -78,2 +82,3 @@ horizontal_lines.exit() | ||
.style("stroke", y.gridline_color) | ||
.style("stroke-width", horizontal_line_width) | ||
.transition() | ||
@@ -95,2 +100,3 @@ .duration(animation_duration) | ||
.style("stroke", y.gridline_color) | ||
.style("stroke-width", horizontal_line_width) | ||
.transition() | ||
@@ -97,0 +103,0 @@ .duration(animation_duration) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
244685
6712