uber/react-vis

getX/Y doesn't work with cluster and stackBy

Open

#854 opened on Jul 3, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (868 forks)batch import
bughelp wanted

Repository metrics

Stars
 (8,615 stars)
PR merge metrics
 (No merged PRs in 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

Contributor guide