@jiaminghi/charts
Advanced tools
Comparing version 0.2.12 to 0.2.13
@@ -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 @@ |
@@ -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
1590684
25613