echarts wrong value and placement for markPoint on stacked bar series

qmelpv7a  于 2022-11-02  发布在  Echarts
关注(0)|答案(4)|浏览(153)

Version

5.0.2

Steps to reproduce

Create some bar series with parameter : stack= 'all'.
Try to use markPoint on them with following parameter :
markPoint: {data: [ {name: 'Inbound', type: 'max'}] }

What is expected?

We should show a markpoint on each maximum value of each series

What is actually happening?

The markpoints are all placed on same stacked bar, that dosen't represent the maximum value of each serie

The markpoint works well for 'normal' line and bar series but not on stacked bars ( stack: 'all', ).

du7egjpx

du7egjpx1#

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! 🍵

6xfqseft

6xfqseft2#

This issue is labeled with difficulty: easy .
@Georges67 Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.

Please have a look at How to debug ECharts if you'd like to give a try. 🤓

yqkkidmi

yqkkidmi3#

I'm interested in fixing this issue.

8ulbf1ek

8ulbf1ek4#

I tried to reproduce the problem.It seems that the max mark point will mark the max value of each series after summary in the stack chart. The behavior of bar and line is similar.
https://codepen.io/Atlas-lili/pen/LYzKLvR

相关问题