apache / apache/echarts

Add support for svg sprite symbols

Open
#9,825 3 comments 0 reactions 1 assignee Claimed by @Ovilia View on GitHub
enhancement performance SVG
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

## General Questions

## Issue Type

- [ ] I have a question to ask about *how to use ECharts to ...*;我想提问如何使用 ECharts 实现某功能
- [ ] I have a bug to report;我想要报 bug
- [x] I have a feature to request, e.g.: *I'd like a new feature that ...*;我需要一个新功能
- [ ] I have a feature to enhance, e.g.: *The current feature should be improved in the way that ...*;我希望改进某个功能
- [ ] There's something wrong with the documents;文档有些问题
- [ ] Others, or I'm not sure which issue types to choose here;其他,或我不知道应该选什么类型

## Issue Details

ECharts currently supports symbols if you pass in a SVG path (https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line.symbol). It would be nice if we could pass in a svg sprite sheet URL with a specific svg ID so that we can use a cached svg path rather than having to add more svg paths to the DOM.

### Expected Behavior

### Current Behavior

### Online Example

## Topics

## Anything Else We Need to Know

## Environment

- ECharts version;ECharts 版本: {DESCRIBE_HERE}

- [ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.