Example for undefined in Angular Chart Component