Page tag with charts in deep dive


Hi, I am trying to add a chart to the nativescript groceries app tutorial to test out teleriks charts ui components.

I’m using the article

I created a new charts component and I’m trying to use the sample code in the article to code the component.

It however seems that the Page tag is causing problems when I use it. I’m confused. I am getting the following error

TypeError: is not a function

If we are using native script with angular, do we need to use Page tag ? I’ve read that you shouldn’t use namespaces when working in nativescript with angular 2.

Does anyone have any demo or help , or advice on how to add a chart ui component to the groceries app… should be simple… I thought.