@jiaminghi/charts
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -0,1 +1,7 @@ | ||
# 0.2.7-alpha (2019-09-03) | ||
### Perfect | ||
- **axis:** Optimize irregular syntax. | ||
# 0.2.6-alpha (2019-09-03) | ||
@@ -2,0 +8,0 @@ |
@@ -240,7 +240,7 @@ "use strict"; | ||
var data = _ref9.data; | ||
return min.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); | ||
return Math.min.apply(Math, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); | ||
}))); | ||
var maxValue = Math.max.apply(Math, (0, _toConsumableArray2["default"])(series.map(function (_ref10) { | ||
var data = _ref10.data; | ||
return max.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); | ||
return Math.max.apply(Math, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); | ||
}))); | ||
@@ -247,0 +247,0 @@ return [minValue, maxValue]; |
{ | ||
"name": "@jiaminghi/charts", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"author": "JiaMing <743192023@qq.com>", | ||
@@ -5,0 +5,0 @@ "description": "Lightweight charting", |
@@ -200,3 +200,3 @@ import { doUpdate } from '../class/updater.class' | ||
...series | ||
.map(({ data }) => min(...filterNonNumber(data))) | ||
.map(({ data }) => Math.min(...filterNonNumber(data))) | ||
) | ||
@@ -206,3 +206,3 @@ | ||
...series | ||
.map(({ data }) => max(...filterNonNumber(data))) | ||
.map(({ data }) => Math.max(...filterNonNumber(data))) | ||
) | ||
@@ -209,0 +209,0 @@ |
Sorry, the diff of this file is too big to display
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
1591625