antvis / antvis/F2

如何使用图片来设置自定义图例?

Open
#1,218 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### Reproduction link
[https://f2.antv.vision/zh/examples/component/legend#marker](https://f2.antv.vision/zh/examples/component/legend#marker)

### Steps to reproduce
对于这个例子,如何使用自定义图片作为图例呢?

| Environment | Info |
|---|---|
| f2 | 3.8.7 |
| System | - |
| Browser | - |

Contributor guide

Open the contributing guide

Research direction

Start with the linked F2 legend marker example and review how that example defines and renders legend markers. Determine whether the existing legend entry point supports image markers, then verify the result against the reproduction link. Done means the requested custom-image legend usage is documented or demonstrated there.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.