- 博客(4)
- 收藏
- 关注
原创 angular6中如何使用echarts
一:方法 方法1:命令行下载 1.1:输入命令: npm install echarts --save npm install ngx-echarts --save 1.2:配置angular.json文件 1.3:在app.module中引入 // 引入 import { NgxEchartsModule } from 'ngx-echarts'; @NgModule...
2019-03-18 16:31:45
341
原创 Echarts知识点
1.使用双y轴: 通过yAxisIndex决定使用的是哪一个y轴 2.echarts修改legend样式(提示图标)----(矩形、原型、默认) legend: { y: 'bottom', data: [{ name: '入库', icon: 'rect' }, { name: '出库', icon: 'rect' }, { name: ...
2019-03-15 17:32:01
297
原创 js检测当前浏览器版本,并作出提示
代码如下: <script type="text/javascript"> // 判断浏览器 var getExplorer = (function() { var explorer = window.navigator.userAgent, compare = function(s) { return (explore...
2019-03-15 11:26:48
1464
转载 angular--动态生成二维码
目前angular中有两个库支持生成二维码,一个是angular2-qrcode(不支持中文),一个是ng2-qrcode。 在终端输入命令: 安装 npm install angular2-qrcode --save 或 npm install ng2-qrcode --save 使用 参考网址:https://www.jianshu.com/p/839...
2019-03-15 10:08:18
1499
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人