更多>
最新下载
24小时阅读排行榜
- 1 AI推文助手如何制作数据报告 AI推文助手的数据分析可视化
- 2 mysql数据库有哪些调优方法
- 3 mysql中有几种粒度锁?
- 4 深入理解JavaScript闭包与作用域链
- 5 巧文书AI官方主页直达最新 巧文书AI智能写作生成平台官网链接
- 6 Web Workers多线程编程与性能优化
- 7 Pboot插件用户注册的验证流程_Pboot插件注册表单的字段自定义
- 8 智谱清言官网最新入口地址 智谱清言智能问答主页平台直达链接
- 9 美甲类视频禁用哪些词汇_美甲类抖音内容违禁词与合规表达
- 10 儿童自学Python编程网站列表 适合自主学习的趣味Python编程平台介绍
- 11 VSCode工作区设置和管理
- 12 Go语言中计算big.Int类型数字的设置位(BitCount)
- 13 AO3镜像站点入口发布_AO3正版网址稳定登录教程分享
- 14 JavaScript网络安全与加密技术
- 15 爱应用pc版官网直达官方网址 爱应用pc版平台入口链接直达首页
更多>
最新教程
-
- Node.js 教程
- 6780 2025-08-28
-
- CSS3 教程
- 969565 2025-08-27
-
- Rust 教程
- 10765 2025-08-27
-
- Vue 教程
- 12980 2025-08-22
-
- PostgreSQL 教程
- 9937 2025-08-21
-
- Git 教程
- 4952 2025-08-21
html5+Canvas仿支付宝芝麻信用仪表盘图表和雷达图表代码
这是一款基于Canvas实现漂亮的仿支付宝芝麻信用信用评估仪表盘图表和雷达图表特效,Canvas图表代码。
js代码
<script src="chart.meter.js"></script>
<script src="chart.radar.js"></script>
<script>
window.onload = function(){
Meter.setOptions({
element: 'meter',
centerPoint: {
x: 180,
y: 180
},
radius: 180,
data: {
value: 710,
title: '职场竞争力{t}',
subTitle: '评估时间:2015.07.28',
area: [{
min: 350, max: 550, text: '较弱'
},{
min: 550, max: 600, text: '一般'
},{
min: 600, max: 650, text: '很强'
},{
min: 650, max: 700, text: '超强'
},{
min: 700, max: 950, text: '极强'
}]
}
}).init();
Radar.setOptions({
element: 'radar',
radius: 140,
polar: [
{ text: '简历信息', max: 190, icon: { sx: 0, sy: 0, w: 32, h: 33, l: -17, t: -60 } },
{ text: '职场身份', max: 190, icon: { sx: 32, sy: 0, w: 30, h: 33, l: 30, t: -30 } },
{ text: '九博成长', max: 190, icon: { sx: 61, sy: 0, w: 32, h: 33, l: 10, t: 0 } },
{ text: '职场活力', max: 190, icon: { sx: 93, sy: 0, w: 31, h: 33, l: -40, t: 0 } },
{ text: '人脉社交', max: 190, icon: { sx: 124, sy: 0, w: 29, h: 33, l: -60, t: -30 } }
],
title: '{v}',
data: [130, 130, 130, 148, 150],
styles: {
label: {
image: 'icon.png'
}
}
}).init();
}
</script>
js代码
<script src="chart.meter.js"></script>
<script src="chart.radar.js"></script>
<script>
window.onload = function(){
Meter.setOptions({
element: 'meter',
centerPoint: {
x: 180,
y: 180
},
radius: 180,
data: {
value: 710,
title: '职场竞争力{t}',
subTitle: '评估时间:2015.07.28',
area: [{
min: 350, max: 550, text: '较弱'
},{
min: 550, max: 600, text: '一般'
},{
min: 600, max: 650, text: '很强'
},{
min: 650, max: 700, text: '超强'
},{
min: 700, max: 950, text: '极强'
}]
}
}).init();
Radar.setOptions({
element: 'radar',
radius: 140,
polar: [
{ text: '简历信息', max: 190, icon: { sx: 0, sy: 0, w: 32, h: 33, l: -17, t: -60 } },
{ text: '职场身份', max: 190, icon: { sx: 32, sy: 0, w: 30, h: 33, l: 30, t: -30 } },
{ text: '九博成长', max: 190, icon: { sx: 61, sy: 0, w: 32, h: 33, l: 10, t: 0 } },
{ text: '职场活力', max: 190, icon: { sx: 93, sy: 0, w: 31, h: 33, l: -40, t: 0 } },
{ text: '人脉社交', max: 190, icon: { sx: 124, sy: 0, w: 29, h: 33, l: -60, t: -30 } }
],
title: '{v}',
data: [130, 130, 130, 148, 150],
styles: {
label: {
image: 'icon.png'
}
}
}).init();
}
</script>
本站所有资源都是由网友投搞发布,或转载各大下载站,请自行检测软件的完整性!本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!如有侵权请联系我们删除下架,联系方式:admin@php.cn


