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'.

  1. if 'p-chart' angular component , has 'data' input, verify part of module.
  2. if 'p-chart' web component add 'custom_elements_schema' '@ngmodule.schemas' of component suppress message.
  3. 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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -