Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Sankey Chart Cannot read property 'renderEnd' of undefined #66

Open
ajaybc opened this issue Feb 14, 2017 · 1 comment
Open

Sankey Chart Cannot read property 'renderEnd' of undefined #66

ajaybc opened this issue Feb 14, 2017 · 1 comment

Comments

@ajaybc
Copy link

ajaybc commented Feb 14, 2017

I am getting the following errors when I try to use Sankey Chart

Uncaught TypeError: Cannot read property 'renderEnd' of undefined
at e.value (react-nvd3.min.js:1)
at e.value (react-nvd3.min.js:1)
at measureLifeCyclePerf (ReactCompositeComponent.js:75)
at ReactCompositeComponent.js:729
at CallbackQueue.notifyAll (CallbackQueue.js:76)
at ReactReconcileTransaction.close (ReactReconcileTransaction.js:80)
at ReactReconcileTransaction.closeAll (Transaction.js:206)
at ReactReconcileTransaction.perform (Transaction.js:153)
at ReactUpdatesFlushTransaction.perform (Transaction.js:140)
at ReactUpdatesFlushTransaction.perform (ReactUpdates.js:89)

and

Uncaught RangeError: Maximum call stack size exceeded
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)
at f (react-nvd3.min.js:1)

The data given was exactly as per the example at : https://github.com/novus/nvd3/blob/master/examples/sankeyChart.html

Event though the above errors are being thrown, I am able to see the chart, but it is not correct.

The other chart types (Line, Bar, Pie) are all working perfectly fine for me.

@topicus
Copy link
Contributor

topicus commented Feb 15, 2017

I think it's because it doesn't exists at the moment react-nvd3 was created. I will take a look but PRs are welcomed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants