@jiaminghi/charts
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -0,1 +1,7 @@ | ||
# 0.2.6-alpha (2019-09-03) | ||
### Perfect | ||
- **axis:** Optimize irregular syntax. | ||
# 0.2.5-alpha (2019-08-29) | ||
@@ -2,0 +8,0 @@ |
@@ -238,7 +238,7 @@ "use strict"; | ||
if (!series) return; | ||
var minValue = min.apply(void 0, (0, _toConsumableArray2["default"])(series.map(function (_ref9) { | ||
var minValue = Math.min.apply(Math, (0, _toConsumableArray2["default"])(series.map(function (_ref9) { | ||
var data = _ref9.data; | ||
return min.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); | ||
}))); | ||
var maxValue = max.apply(void 0, (0, _toConsumableArray2["default"])(series.map(function (_ref10) { | ||
var maxValue = Math.max.apply(Math, (0, _toConsumableArray2["default"])(series.map(function (_ref10) { | ||
var data = _ref10.data; | ||
@@ -245,0 +245,0 @@ return max.apply(void 0, (0, _toConsumableArray2["default"])((0, _util.filterNonNumber)(data))); |
{ | ||
"name": "@jiaminghi/charts", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"author": "JiaMing <743192023@qq.com>", | ||
@@ -5,0 +5,0 @@ "description": "Lightweight charting", |
@@ -48,1 +48,15 @@ [中文](./README.md) | ||
Detailed documents and examples can be viewed on the [HomePage](http://charts.jiaminghi.com). | ||
### Quick experience | ||
```html | ||
<!--Resources are located on personal servers for experience and testing only, do not use in production environments--> | ||
<!--Debug version--> | ||
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script> | ||
<!--Compression version--> | ||
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script> | ||
<script> | ||
const Charts = window.Charts.default | ||
// do something | ||
</script> | ||
``` |
@@ -48,1 +48,15 @@ [ENGLISH](./README_EN.md) | ||
详细文档及示例请移步[HomePage](http://charts.jiaminghi.com). | ||
### 快速体验 | ||
```html | ||
<!--资源位于个人服务器仅供体验和测试,请勿在生产环境使用--> | ||
<!--调试版--> | ||
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script> | ||
<!--压缩版--> | ||
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script> | ||
<script> | ||
const Charts = window.Charts.default | ||
// do something | ||
</script> | ||
``` |
@@ -198,3 +198,3 @@ import { doUpdate } from '../class/updater.class' | ||
const minValue = min( | ||
const minValue = Math.min( | ||
...series | ||
@@ -204,3 +204,3 @@ .map(({ data }) => min(...filterNonNumber(data))) | ||
const maxValue = max( | ||
const maxValue = Math.max( | ||
...series | ||
@@ -207,0 +207,0 @@ .map(({ data }) => max(...filterNonNumber(data))) |
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
1591502
61