echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Question. Binding scatter to boxPlot category position

Open WhatIsLoveBaev opened this issue 2 years ago • 3 comments

What problem does this feature solve?

Hello, the current project requires to implement boxPlot caterogy, with the ability to impose scatter on them. Could not find any possibility to do this. Now points, lines are centered in their cell on the x-axis, but when the second category of boxPlot is enabled, there is a shift in the positioning of the candle and because of this is not displayed correctly for data analysis.

Is there any possibility to implement scatter overlay on boxPlot category in the current version of the library?

It looks like this now. image

It is expected that with multiple categories the boxPlot will look something like this, only scatter is positioned to its own category. image

What does the proposed API look like?

Haven't found a suitable api for the current situation.

WhatIsLoveBaev avatar Aug 21 '23 11:08 WhatIsLoveBaev

Won't be easy but might be doable. The closest official example is this - custom charts. Instead of bars you'll have groups of boxplots and instead of line points you'll have multiple circle points (scatter) for each boxplot. Good luck.

helgasoft avatar Aug 21 '23 17:08 helgasoft

Any movement on this? Many libraries have the ability to display the underlying data (circle points) and also the ability to jitter.

mattjvincent avatar Oct 27 '24 03:10 mattjvincent

This seems to be a pretty big flaw in box plots. Is there any updates on this?

EddyHaigh avatar Nov 12 '25 10:11 EddyHaigh