JSPM

  • Created
  • Published
  • Downloads 242
  • Score
    100M100P100Q90820F
  • License Apache-2.0

Nativescript Chart plugin.

Package Exports

  • @nativescript-community/ui-chart

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nativescript-community/ui-chart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Your Plugin Name

Experimental plugin to draw charts using @nativescript-community/ui-canvas. It is a direct JS port of MPAndroidChart

The main goal was to prevent the need for marshalling all datasets. This is extremelly heavy, costly and uncessary!

The demo_vue app show the power of the future plugin:

  • It is the fastest drawing library in comparaison to @nativescript-community/ui-chart and nativescript-mpchart. This is due to:
    • do not marshal or recreate any subset of the data sets. Directly uses the provided array.
    • can share the same data array beetween multiple datasets
    • still use the power of native arrays to NOT marshal arrays of positions while drawing lines with @nativescript-community/ui-canvas
  • Same JS codebase for iOS and Android. Makes maintaining the library very easy.
  • smaller apps size because no native libs or no native framework. All done with the power of {N}