Skip to content

Embedd Chart.js #526

Closed
Closed
@bene-starzengruber

Description

@bene-starzengruber

Hey guys!

I'm trying to use ng2-charts in my app, but I get following error

EXCEPTION: Uncaught (in promise): Error: Error in ./Skillset class Skillset - inline template:5:10 caused by: ng2-charts configuration issue: Embedding Chart.js lib is mandatory Error: ng2-charts configuration issue: Embedding Chart.js lib is mandatory at BaseChartDirective.getChartBuilder

I already installed ng2-charts and chart.js via npm.
Where can I embedd Chart.js in an Angular2 app? (it's already in the vendor.browser.ts - file)

Thanks

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