您当前的位置: 首页 >  漏刻有时 ar

Echarts实战案例分享:实战柱图日销售名称和图片对应展示的解决方案

漏刻有时 发布时间:2021-01-30 18:06:58 ,浏览量:3

var myChart = echarts.init(document.getElementById(id));
    var option = {
   
        tooltip: {
   
            trigger: 'axis',
            formatter: function (params) {
   
                return dataName[params[0].dataIndex] + "
产品数量:" + params[0].value + "
产品价格:" + params[1].value; }, axisPointer: { type: 'cross', lineStyle: { color: '#57617B' } } }, "legend": { icon: 'circle', "data": [ { "name": "产品数量"}, { "name": "产品价格"}, { "name": "产品图片"} ], "textStyle": { "color": "rgba(255,255,255,0.9)" } }, dataZoom:
关注
打赏
查看更多评论

漏刻有时

暂无认证

  • 3浏览

    0关注

    670博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录