primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Angular2.beta7 Getting Error Using Charts

Open bbrink68 opened this issue 10 years ago • 2 comments

import {PieChart} from 'primeng/primeng;

@Component({
  ...
  directives: [PieChart]
})
export class MyClass {
  constructor() {
   this.statusChart = [{...}]
  }
}

<p-pieChart [value]="statusChart" width="300" height="300"></p-pieChart>

The above results in the error:

Unexpected directive value 'undefined' on the View of component 'MyClass'

It almost seems to be some sort of circular dependency going on. Any thoughts?

bbrink68 avatar Mar 01 '16 16:03 bbrink68

Is it possible for you to send us the project so we can check locally?

cagataycivici avatar Mar 01 '16 17:03 cagataycivici

Missing feedback so closing.

cagataycivici avatar Mar 11 '16 09:03 cagataycivici