echarts Question. Binding scatter to boxPlot category position

wooyq4lh  于 6个月前  发布在  Echarts
关注(0)|答案(1)|浏览(56)

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.

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

What does the proposed API look like?

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

jdzmm42g

jdzmm42g1#

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.

相关问题