随笔分类 -  echarts

摘要:1、鼠标经过折线图 显示的框中的文字设置,需要设置tooltip下的formatter属性 formatter属性值可以为字符串也可function ary为横轴坐标:1,2,3等 ary1为日期:2018-02 ary2为纵轴数值:10、20等, 此处思路:通过formatter中的data获取当 阅读全文
posted @ 2018-06-07 13:34 dongxiaolei 编辑
摘要:function chart(opt,id,chartName){//配置option的方法 var chartName = echarts.init(document.getElementById(id)); chartName.setOption(opt); window.onresize = 阅读全文
posted @ 2017-11-14 11:30 dongxiaolei 编辑
摘要:require.config({ paths:{ echarts:"js/chart" } }); require([ 'echarts', ... 阅读全文
posted @ 2017-09-07 15:12 dongxiaolei 编辑
摘要:/** * ESL (Enterprise Standard Loader) * Copyright 2013 Baidu Inc. All rights reserved. * * @file Browser端标准加载器,符合AMD规范 * @author errorrik(errorrik@gm 阅读全文
posted @ 2017-02-27 13:38 dongxiaolei 编辑

点击右上角即可分享
微信分享提示