Incubator-echarts: 图例自定义icon时能否自动或可设置居中

Created on 28 Nov 2019  ·  3Comments  ·  Source: apache/incubator-echarts

What problem does this feature solve?

图例自定义icon这里设置为一条竖线 path://M443.733333 0h145.066667v1024H443.733333z ,显示的时候是明显靠左的,能否自动或者可以配置成居中?

示例:https://gallery.echartsjs.com/editor.html?c=xgxczLxKi&v=3

What does the proposed API look like?

图例自定义icon居中显示

support community

Most helpful comment

可以通过修改path来实现,比如你这里,可以修改成:
path://M0 0M443.733333 0 h145.066667 v1024 H443.733333z

All 3 comments

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 you 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 [email protected]. Please attach the issue link if it's a technical questions.

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

Have a nice day! 🍵

可以通过修改path来实现,比如你这里,可以修改成:
path://M0 0M443.733333 0 h145.066667 v1024 H443.733333z

好的!感谢! @SnailSword

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kirazxyun picture kirazxyun  ·  3Comments

arssam picture arssam  ·  3Comments

marine1ly picture marine1ly  ·  3Comments

jarben picture jarben  ·  3Comments

RoxetteI picture RoxetteI  ·  3Comments