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

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

@ajaybc

Description

@ajaybc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions