echarts悬浮

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xingxiupaioxue/article/details/80684359
option = {
    legend: {
        data:[globalLN.height_hor],
        formatter: function (name) {
            return echarts.format.truncateText(name, 200, '14px Microsoft Yahei', '…');
        },
        tooltip: {
            show: true
        }
    },

猜你喜欢

转载自blog.csdn.net/xingxiupaioxue/article/details/80684359