echarts tooltip marker background-color失效

bwitn5fc  于 2022-11-05  发布在  Echarts
关注(0)|答案(4)|浏览(266)

Version

4.7.0

Steps to reproduce

itemStyle使用线性渐变,tooltip在formatter中获取的marker,其中background-color: [object Object]属性失效 导致marker无法渲染

What is expected?

修复

What is actually happening?

修复

yqkkidmi

yqkkidmi1#

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 thatyou have posted enough image to demo your request. 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 our mailing list .

Have a nice day! 🍵

r7knjye2

r7knjye22#

@YmSir It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Tooltip marker-background-color is invalid

BODY

Version

4.7.0

Steps to reproduce

ItemStyle uses a linear gradient, the marker obtained by the tooltip in the formatter, where the background-color: [object Object] property is invalid, causing the marker to fail to render

What is expected?

repair

What is actually happening?

repair

pu3pd22g

pu3pd22g3#

@YmSir Please provide a minimum reproducible demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz .

  • 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.

相关问题