Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Uncaught TypeError: Cannot set property 'xLabels' of undefined #20

@adamellsworth

Description

@adamellsworth

This pertains to the codebase on #17

https://github.com/aaronhayes/react-chartjs/blob/master/lib/core.js#L45

Oddly, while it does update the chart with the pertinent labels, It's still throwing this error with no perceivable repercussions as new data is fed into the char.


In Firefox, instead of the xLabels error, I get:

TypeError: nextProps.data.labels is undefined

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