上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
摘要: AngularJS 1.x版本对应的 bootstrap组件库是ui-bootstrap; http://www.cnblogs.com/pilixiami/p/5597634.html Angular2版本对应的bootstrap组件库是ng-bootstrap; http://wiki.jike 阅读全文
posted @ 2017-10-18 11:46 pei~乐悠悠 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: 使用Angular CLI可以快速,简单的搭建一个angular2或angular4项目,是只要掌握几行命令就能构建出前端架构的最佳实践,它本质也是使用了webpack来编译,打包,压缩等构建的事情,适合想用webpack的特性又不想学习webpack那些复杂的配置的开发者; 一、AngularCL 阅读全文
posted @ 2017-10-10 17:08 pei~乐悠悠 阅读(6687) 评论(0) 推荐(0) 编辑
摘要: 前面的直方图使用的数据都是static datasets, 但现实世界中数据大多都是随时间变化的。有时我们希望图表能反映那些变化。在D3中,通过updates可以更新数据,changes可视化可以通过transitions,motion表现出来 有序的数据(ordinal data: typical 阅读全文
posted @ 2017-09-20 17:44 pei~乐悠悠 阅读(259) 评论(0) 推荐(0) 编辑
摘要: SVG attributes by category Animation event attributes onbegin, onend, onload, onrepeat Animation attribute target attributes attributeType, attributeN 阅读全文
posted @ 2017-09-20 16:22 pei~乐悠悠 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: 使用d3.svg.axis() 创建一个 axis function: an axis function is called, it doesn’t return a value, but generates the visual elements of the axis, including li 阅读全文
posted @ 2017-09-20 15:01 pei~乐悠悠 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 知识架构图: 阅读全文
posted @ 2017-09-19 15:32 pei~乐悠悠 阅读(330) 评论(1) 推荐(1) 编辑
摘要: d3.scale 比例尺 “Scales are functions that map from an input domain to an output range” Domains 定义域 和 Ranges 值域 创建线性比例尺 d3.max()和d3.min() 设置动态比例尺 设置圆心和la 阅读全文
posted @ 2017-09-15 18:28 pei~乐悠悠 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: 散点图 添加labels 阅读全文
posted @ 2017-09-15 17:32 pei~乐悠悠 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 1、创建SVG元素 2、为SVG元素设置属性 或: 或: 画圆实践 Bar Chart 根据div画chart 根据Rect画Chart 添加Lable: 改变Label显示位置 设置属性 利用上面的方式计算label的位置,有时并不能很好的适应对应的bar,例如第一个label 5的位置,可以使用 阅读全文
posted @ 2017-09-15 16:27 pei~乐悠悠 阅读(2569) 评论(0) 推荐(0) 编辑
摘要: 为DOM元素添加class Drawing Bars: Setting Styles 优化一下 阅读全文
posted @ 2017-09-15 15:57 pei~乐悠悠 阅读(577) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页