Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nativescript/nativescript-ui-charts
NativeScript wrapper around HiCharts library
https://github.com/nativescript/nativescript-ui-charts
android charts ios mobile nativescript plugin ui
Last synced: 3 months ago
JSON representation
NativeScript wrapper around HiCharts library
- Host: GitHub
- URL: https://github.com/nativescript/nativescript-ui-charts
- Owner: NativeScript
- License: apache-2.0
- Archived: true
- Created: 2020-07-16T06:49:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T17:00:27.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:51:32.743Z (9 months ago)
- Topics: android, charts, ios, mobile, nativescript, plugin, ui
- Language: TypeScript
- Homepage:
- Size: 5.72 MB
- Stars: 25
- Watchers: 4
- Forks: 6
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**NOTE: This repo was moved [here](https://github.com/NativeScript/ui-kit) for further development.**
# @nativescript/ui-charts ![apple](https://cdn3.iconfinder.com/data/icons/picons-social/57/16-apple-32.png) ![android](https://cdn4.iconfinder.com/data/icons/logos-3/228/android-32.png)Nativescript wrapper for Highcharts iOS and Android SDKs
## Installation
In Command prompt / Terminal navigate to your application root folder and run:
```
tns plugin add @nativescript/ui-charts
```## Usage
The best way to explore the usage of the plugin is to inspect the demo app in the plugin's root folder.
In `demo` folder you can find the usage of the plugin for TypeScript non-Angular application. Refer to `demo/app/demos` for different chart types.### NativeScript Core
```xml
```
```ts
export function chartViewLoaded(args) {
chartView = args.object;
chartView.setOptions(viewModel.get('chartOptions'));
}
```The `chartOptions` is a HICharts options object,
refer to https://www.highcharts.com/demo/ for inspiration, and also checkout https://api.highcharts.com/highcharts/ for API reference