Gathering detailed insights and metrics for data-vis-iview
Gathering detailed insights and metrics for data-vis-iview
Gathering detailed insights and metrics for data-vis-iview
Gathering detailed insights and metrics for data-vis-iview
npm install data-vis-iview
Typescript
Module System
Min. Node Version
Node Version
NPM Version
46.5
Supply Chain
84.6
Quality
77.1
Maintenance
50
Vulnerability
97.9
License
JavaScript (62.63%)
Vue (34.37%)
CSS (2.89%)
HTML (0.11%)
Total Downloads
7,883
Last Day
4
Last Week
10
Last Month
40
Last Year
646
4 Stars
138 Commits
5 Forks
2 Watching
30 Branches
6 Contributors
Latest Version
1.0.0
Package Id
data-vis-iview@1.0.0
Unpacked Size
95.23 kB
Size
17.85 kB
File Count
31
NPM Version
6.14.6
Node Version
14.6.0
Cumulative downloads
Total Downloads
Last day
33.3%
4
Compared to previous day
Last week
42.9%
10
Compared to previous week
Last month
-11.1%
40
Compared to previous month
Last year
-38.7%
646
Compared to previous year
5
2
39
A charts generator with json schema based on iview ui.
This is a part of screenshot of the website.
You can get a result like this simply by:
1<template> 2 <DataVis :config="config" /> 3</template> 4 5<script> 6import DataVis from 'data-vis-iview'; 7const config = { 8 title: '整体趋势', 9 rows: [ 10 [ 11 { 12 conditions: [ 13 { 14 key: '100060', 15 type: 'DatePicker', 16 subType: 'date', 17 model: 'date', 18 placeholder: '', 19 required: true, 20 defaultValue: '2019-01-01' 21 } 22 ], 23 chartGroup: [ 24 { 25 'tip': { 26 title: '标题1', 27 content: '内容1' 28 }, 29 'label':'地域分布', 30 'type':'pie', 31 'data': [ 32 {value:335, name:'直接访问'}, 33 {value:310, name:'邮件营销'}, 34 {value:274, name:'联盟广告'}, 35 {value:235, name:'视频广告'}, 36 {value:400, name:'搜索引擎'} 37 ] 38 }, 39 { 40 'label':'新增用户', 41 'type':'bar', 42 'columns': ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], 43 'data': [120, 200, 150, 80, 70, 110, 130] 44 } 45 ] 46 }, 47 { 48 conditions: [ 49 { 50 key: '100061', 51 type: 'DatePicker', 52 subType: 'date', 53 model: 'date', 54 placeholder: '', 55 required: true, 56 defaultValue: '2019-01-01' 57 } 58 ], 59 chartGroup: [ 60 { 61 'label': '趋势图', 62 'type': 'line', 63 'columns': [ 64 ['2015-1', '2015-2', '2015-3', '2015-4', '2015-5', '2015-6', '2015-7', '2015-8', '2015-9', '2015-10', '2015-11'], 65 ['2016-1', '2016-2', '2016-3', '2016-4', '2016-5', '2016-6', '2016-7', '2016-8', '2016-9', '2016-10', '2016-11', '2016-12'] 66 ], 67 'data': [ 68 { 69 name:'2015 邮件营销', 70 groupName: '邮件营销', 71 xAxisIndex: 0, 72 data:[120, 132, 101, 134, 90, 230, 210, 101, 134] 73 }, 74 { 75 name:'2016 邮件营销', 76 groupName: '邮件营销', 77 xAxisIndex: 1, 78 data:[150, 122, 121, 164, 100, 200, 200, 141, 134, 90, 230, 210] 79 }, 80 { 81 name:'2015 联盟广告', 82 groupName: '联盟广告', 83 xAxisIndex: 0, 84 data:[220, 182, 191, 234, 290, 330, 310, 101, 134, 90, 230] 85 }, 86 { 87 name:'2016 联盟广告', 88 groupName: '联盟广告', 89 xAxisIndex: 1, 90 data:[20, 82, 91, 34, 90, 30, 10, 1, 34, 90, 30, 10] 91 } 92 ] 93 }, 94 { 95 'tip': { 96 title: '标题2', 97 content: '内容2' 98 }, 99 'label':'柱状图api2', 100 'type':'bar', 101 'api': '/chartBarApi' 102 } 103 ] 104 } 105 ] 106 ] 107}; 108export default { 109 components: { 110 DataVis 111 }, 112 data() { 113 return { 114 config 115 }; 116 } 117}; 118</script> 119
Pull the repo to see more or you can take a look at the website code;
yarn run dev
yarn run build
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 4/22 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
99 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More