angular - Can't bind to 'data' since it isn't a known property of 'p-chart' -
link:https://www.primefaces.org/primeng/#/chart/bar given in above link tried giving code in .ts , html . , have installed chart.js , primeng , m getting error.
can't bind 'data' since isn't known property of 'p-chart'.
- if 'p-chart' angular component , has 'data' input, verify part of module.
- if 'p-chart' web component add 'custom_elements_schema' '@ngmodule.schemas' of component suppress message.
- to allow property add 'no_errors_schema' '@ngmodule.schemas' of component. (" ][data]="data">
"): ng:///appmodule/barcomponent.html@1:20 'p-chart' not known element: 1. if 'p-chart' angular component, verify part of module. 2. if 'p-chart' web component add 'custom_elements_schema' '@ngmodule.schemas' of component suppress message. (" [error ->]
Comments
Post a Comment