Skip to content

Uncaught SyntaxError: Duplicate data property in object literal not allowed in strict mode #6

@ihamzehald

Description

@ihamzehald

Hello i was trying to use your d3 plugin to draw a pie chart but this error appeared in the console :
Uncaught SyntaxError: Duplicate data property in object literal not allowed in strict mode
in your online demo example everything works fine but it is not working on local, what i did is that i replaced the code of d3.ay-pie-chart.js with the code from your demo (the d3.ay-pie-chart.js code), and the demo works fine on local now, please let me know when you fix this error, regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions