uber/react-vis

getX/Y doesn't work with cluster and stackBy

Aperta

#854 aperta il 3 lug 2018

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (868 fork)batch import
bughelp wanted

Metriche repository

Star
 (8615 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Starting with the cluster/stackBy example here: https://github.com/uber/react-vis/blob/master/showcase/plot/clustered-stacked-bar-chart.js

When you add getX and getY to the XYPlot it breaks the render of the chart. Basically only the first "cluster" renders for some reason.

See Codesandbox repo: https://codesandbox.io/s/5wq4wqml1p

Console error on render: react-vis bug - codesandbox 2018-07-03 14-27-43

Guida contributor