New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xl-chart

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xl-chart - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

2

package.json
{
"name": "xl-chart",
"version": "1.1.10",
"version": "1.1.11",
"description": "```\r npm install xl-chart --save-dev\r ```",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -11,2 +11,8 @@ # install

# purpose
```
本插件是为BI和快速创建手机版本图表而建,提供了快速重载,销毁重载等性能优化
pc版 还在考虑开放ing,如果需要 可以私信 1772907731@qq.com
```
# use

@@ -218,1 +224,42 @@

```
#reload
```js
//可以更新任意值
const chart = new xlChart.Normal({});
chart.reloadOption({
data:{
num1:Math.floor(Math.random()*1000+1),
num2:Math.floor(Math.random()*1000+1),
num3:Math.floor(Math.random()*1000+1),
},
dataField: ["num1", "num2", "num3"],
seriesField: {
num1: {
name: "我是数据1",
type: "bar",
color: "#6BEDD1",
},
num2: {
name: "我是数据2",
type: "line",
color: "#00C49A"
},
num3: {
name: "我是数据3",
type: "line",
color: "#FA8F67"
}
}
});
```
#destroy
```js
// 销毁重构
const chart = new xlChart.Normal({});
chart.destroy();
```
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