primeng
primeng copied to clipboard
Angular2.beta7 Getting Error Using Charts
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?
Is it possible for you to send us the project so we can check locally?
Missing feedback so closing.