Tooltip

鼠标悬停在某一柱状图上时,对应的x轴高亮显示:

 tooltip: {
                    trigger: 'axis',
                    axisPointer: {            // 坐标轴指示器,坐标轴触发有效
                        type: 'shadow'  ,      // 默认为直线,可选为:'line' | 'shadow'
                        label: {
                            show: true,
                            backgroundColor: '#C0C0C0' //鼠标悬停在某一柱状图上时,对应的x轴高亮显示
                        }
                    }
                },

效果显示:

results matching ""

    No results matching ""