- 博客(4)
- 收藏
- 关注
原创 angular6中如何使用echarts
一:方法方法1:命令行下载1.1:输入命令:npm install echarts --savenpm install ngx-echarts --save1.2:配置angular.json文件1.3:在app.module中引入// 引入import { NgxEchartsModule } from 'ngx-echarts'; @NgModule...
2019-03-18 16:31:45
408
原创 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
368
原创 js检测当前浏览器版本,并作出提示
代码如下:<script type="text/javascript"> // 判断浏览器 var getExplorer = (function() { var explorer = window.navigator.userAgent, compare = function(s) { return (explore...
2019-03-15 11:26:48
1556
转载 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
1577
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅