Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
240 views
in Technique[技术] by (71.8m points)

javascript - vue-echarts - How to change cursor type on highlighted space behind bar in bar chart

How to do I change the cursor type to a pointer when I'm hovering over the highlighted space behind a bar in a bar chart?

When hovering over a bar, the cursor is a pointer, but in the space behind the bar it's default. Since I've made the entire bar clickable, I would also like to make the cursor a pointer here. Below is a photo showing where in particular the cursor should be a pointer.

Area of concern for pointer change

Here is how I define my chart within Vue

    <chart :options="chartOptionsBar"
           theme="infographic"
           @zr:click="selectBar"
           :autoresize="true"
           ref="chart">
    </chart>

Thanks for the help!

question from:https://stackoverflow.com/questions/66060878/vue-echarts-how-to-change-cursor-type-on-highlighted-space-behind-bar-in-bar-c

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...