uber/react-vis

getX/Y doesn't work with cluster and stackBy

Aberta

#854 aberto em 3 de jul. de 2018

 (1 comentário) (0 reação) (0 responsável)JavaScript (868 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (8.615 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador