echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Can the current chart be displayed like this?

Open xyy7260 opened this issue 1 year ago • 6 comments

What problem does this feature solve?

displayed 325452035-0de2e413-0511-4870-a469-cf8bab452f20 QQ20240108-115939@2x 325452127-ec679491-f983-4d2e-b23a-d32650a73e9b

What does the proposed API look like?

R demo

xyy7260 avatar May 17 '24 08:05 xyy7260

Aah, beeswarm plots, a direct challenge to our R library echarty ! It is doable - ECharts Demo with R-code inside.

image Beeswarm charts just jitter similar(overlapped) Y-values so that they become all visible. Language R has functions and libraries to do that. Javascript may have similar solutions.

helgasoft avatar May 17 '24 19:05 helgasoft

@helgasoft Hahaha, how to solve it?

xyy7260 avatar May 20 '24 01:05 xyy7260

oops, ECharts editor ate my comments... Fixed, now ECharts Demo above has the R-code. As I said, Javascript may have similar solutions. Here is one with d3.beeswarm.

helgasoft avatar May 20 '24 23:05 helgasoft

@helgasoft Will you include beeswarm plots in ECharts in the future?

xyy7260 avatar May 21 '24 08:05 xyy7260

An interesting thing is that I was just implementing jittering effect for scatter series #19941 but I have no idea how to make scatters avoid being overlapped. I shall probably see how d3.beeswarm can inspire me.

Ovilia avatar May 21 '24 09:05 Ovilia

@helgasoft Thank you very much for letting me know the term. :D

Ovilia avatar May 21 '24 09:05 Ovilia