apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.32k stars 19.61k forks source link

[Bug] GL series scatter3D Symbol cannot display images or SVG #19063

Open crywhy opened 1 year ago

crywhy commented 1 year ago

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/en/option-gl.html#series-scatter3D.symbol

Steps to Reproduce

document chart GL configuration series.symbol type: 'scatter3D' description: Icons can be set to arbitrary vector path via 'path://' in ECharts. As compared with a raster image, vector paths prevent jagging and blurring when scaled, and have better control over changing colors. The size of the vector icon will be adapted automatically. Refer to SVG PathData for more information about the format of the path. You may export vector paths from tools like Adobe

Current Behavior

But whether I try images or SVG charts, I can't show them

Expected Behavior

It is reasonable to say that the circles in the symbol will be replaced with SVG or images, but why is it not actually

Environment

- OS:
- Browser:Chrome 116.0.5845.111
- Framework:html

Any additional comments?

Save the child

echarts-bot[bot] commented 1 year ago

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.

parteekmalik commented 1 year ago

need more info on how to reproduce it .

helgasoft commented 1 year ago

scatter3D Symbol cannot display images or SVG

The documentation does not mention support for images. SVG paths work as intended - Demo code.