Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nativescript chart plugin

It there any free to use plugin or javascript library compatible with Nativescript so I could make at least bar charts vertically or horizontally. There seems to be lack of information around this criteria. I'm not going to use telerik pro stuff.

like image 235
Terhoraj Avatar asked Jun 23 '16 06:06

Terhoraj


1 Answers

Update March 1, 2018

As Shaunti mentions in a comment, the chart library from NativeScript is now free of charge.

Using native third party libraries:

One of the main benefits of NativeScript is that you're free to use any native third party libraries you want (iOS Cocoapods or Android libraries). For example, you can use Charts Cocoapod or MPAndroidChart.

There's several hundred free-to-use/open source chart libraries available out there. It's just a matter of finding one which suits your needs.

Here's a blog post about using native third party libraries in NativeScript: http://developer.telerik.com/featured/using-native-libraries-in-nativescript/

About chart.js etc

Chart.js etc are HTML solutions. They produce HTML. Nativescript is not a HTML based solution (such as PhoneGap etc). Nativescript produces actual native code. Here's a short video explaining the difference between a native solution and a web based solution: https://www.youtube.com/watch?v=R98cdsq1qxA

Therefor you will not be able to use web based technologies.

Final words

I suggest that you rethink not wanting to use the readymade Telerik components. If you don't have experience with working with Cocoapods/Android libraries and don't have that much experience with NativeScript itself it will most probably cost you quite a bit of time to get things up and running.

Compare your time cost with the $199 cost for the UI for NativeScript components

like image 146
Emil Oberg Avatar answered Oct 23 '22 23:10

Emil Oberg