echarts自定义功能按钮图片 网络路径格式
2017-08-30 11:23
351 查看
toolbox : { show : true, orient : 'vertical', x:'left', top : '20%', feature : { myTool : { show : true, title : '自定义扩展方法', icon : 'image://http://localhost:8080/test/skins/test.png', onclick : function (){ alert(1); } }, dataView : { show : true, readOnly : false } } },
需要在图片路径前加上 image://
注:具体原因我也不清楚,不知道是echarts特有的图片路径格式,还是一种特殊的路径。
如果哪位大神知道,望指点一二,感谢。
相关文章推荐
- Android(java)学习笔记204:自定义SmartImageView(继承自ImageView,扩展功能为自动获取网络路径图片)
- IOS 自定义tabbar,并给tabbar按钮加载网络图片
- IOS 自定义tabbar,并给tabbar按钮加载网络图片
- 富文本编辑器UEditor自定义工具栏(二、插入图片、音频、视频个性化功能按钮和弹层及自定义分页符)
- 自定义tabbar,给tabbar按钮加载网络图片
- 自定义字段 图片(无格式)只调用图片路径
- android自定义Glide图片加载(以更改Glide缓存路径和使用ARGB_8888的图片格式为例)
- Android开发 自定义ViewGroup 实现微信九格图功能(图片不同排布不同) 和 一种图片点击变暗效果
- jquery——左右按钮点击切换一组图片功能
- swift自定义按钮文本和图片的位置
- 自定义按钮图片和文字的位置
- android ViewPager实现的轮播图广告自定义视图,网络获取图片和数据
- 选择屏幕中 如何自定义 功能按钮
- Android中如何根据图片url路径来获取网络图片
- Android-自定义输入法的功能按钮
- kindeditor扩展粘贴截图功能&修改图片上传路径并通过webapi上传图片到图片服务器
- WP8_给图片、按钮设置自定义图片
- 按钮上图片加到自定义导航栏变色的问题
- 【iOS开发-62】自定义cell制作团购页面、顶部图片轮播、底部模拟加载更多功能,核心是练习代理模式
- 导航条的自定义:背景颜色设置,按钮标题图片设置,图片坐标修改