Page tag with charts in deep dive


#1

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 https://www.nativescript.org/blog/a-deep-dive-into-telerik-ui-for-nativescript-s-charts.

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: this.page.frame._getNavBarVisible is not a function
tns-core-modules/ui/action-bar/action-bar.js

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.