Socket
Socket
Sign inDemoInstall

@jiaminghi/charts

Package Overview
Dependencies
6
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.12 to 0.2.13

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 0.2.13-alpha (2020-04-15)
### Perfect
- **Axis:** Perfect axis calculation of min & max.
# 0.2.12-alpha (2020-01-15)

@@ -2,0 +8,0 @@

4

lib/core/axis.js

@@ -197,5 +197,3 @@ "use strict";

if (minMaxValue[0] === minMaxValue[1]) {
label = minMaxValue;
} else if (min < 0 && max > 0) {
if (min < 0 && max > 0) {
label = getValueAxisLabelFromZero(min, max, interval);

@@ -202,0 +200,0 @@ } else {

{
"name": "@jiaminghi/charts",
"version": "0.2.12",
"version": "0.2.13",
"author": "JiaMing <743192023@qq.com>",

@@ -5,0 +5,0 @@ "description": "Lightweight charting",

@@ -152,5 +152,3 @@ import { doUpdate } from '../class/updater.class'

if (minMaxValue[0] === minMaxValue[1]) {
label = minMaxValue
} else if (min < 0 && max > 0) {
if (min < 0 && max > 0) {
label = getValueAxisLabelFromZero(min, max, interval)

@@ -157,0 +155,0 @@ } else {

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

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc