echarts Superimpose the histogram. Use 'diamond' and pictorialbar at the top. When you click the second segment of data of the first column, the obtained names do not match

vcirk6k6  于 2022-11-02  发布在  Echarts
关注(0)|答案(2)|浏览(94)

Version

4.0.4

https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5

Steps to reproduce

1、When clicking the second section of the first column, the obtained name should be the name of the x-axis corresponding to the first column. Now the obtained name does not match;

2、When the click event of the legend at the top of echats is disabled, the next two legends cannot be clicked, which is normal; However, the first two legend can be clicked; Triggered the click event of echart;

3、Changing the Z value of pictorialbar can solve the click problem; However, it can not meet the existing effect of histogram

4、For the specific project code, see the reproduction link
https://www.makeapie.com/editor.html?c=xCsDpKfl_Y&v=5

What is expected?

  1. When you click the second section of the first column, you can get the correct name corresponding to the X axis;
  2. When legend is disabled, click events cannot be clicked;

What is actually happening?

When clicking the second section of the first column, the obtained name should be the name of the x-axis corresponding to the first column. Now the obtained name does not match;

When the click event of the legend at the top of echats is disabled, the next two legends cannot be clicked, which is normal; However, the first two legend can be clicked; Triggered the click event of echart;

kse8i1jr

kse8i1jr1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it containsa minimum reproducible demoand necessaryimagesto illustrate. Otherwise, our committers will ask you to do so.

  • A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe to our mailing list .

Have a nice day! 🍵

stszievb

stszievb2#

I didn't get what's wrong here. Can you make an image to better illustrate which part is wrong?
And do you mean "hovering" when you said "clicking"?

相关问题