实现echarts 十字辅助线

 

想要实现的效果如下图:

 

 

实现十字辅助线的主要代码如下:

                    axisPointer: {
                        type: 'cross',
                        //xy轴十字架指示数值背景区域色
                        label: {
                            backgroundColor: '#013976',
                        },
                    }

 

posted @ 2023-04-04 15:10  安琪吖  阅读(659)  评论(0编辑  收藏  举报