Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flourish/chart-layout

Package Overview
Dependencies
Maintainers
22
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/chart-layout - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

2

package.json
{
"name": "@flourish/chart-layout",
"version": "8.0.1",
"version": "8.0.2",
"description": "Create axes",

@@ -5,0 +5,0 @@ "main": "chart-layout.js",

@@ -0,1 +1,4 @@

# 8.0.2
* Prevent ticks for a hidden axis from effecting margins
# 8.0.1

@@ -2,0 +5,0 @@ * Fix top x-axis bug

@@ -22,4 +22,6 @@ import { isDate, isValidDate, textareaToArray } from "../../common";

let ticks;
const ticks_hidden = axis === "x" ? axis_state.axis_position === "off" : !axis_state.axis_visible;
if (data.string_array) ticks = scale.domain();
if (ticks_hidden) ticks = [];
else if (data.string_array) ticks = scale.domain();
else if (axis_state.tick_mode === "number") ticks = scale.ticks(axis_state.tick_number);

@@ -26,0 +28,0 @@ else {

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc