Skip to content
Discussion options

You must be logged in to vote

My team at the moment uses @nativescript-community/ui-chart.
You can register any from it for use in any flavor (refer to each flavor registration methods: https://docs.nativescript.org/guide/create-custom-native-elements#registering-new-elements), eg:

import { LineChart } from '@nativescript-community/ui-chart/charts';
import { PieChart } from '@nativescript-community/ui-chart/charts';

registerElement('LineChart', () => LineChart);
registerElement('PieChart', () => PieChart);

then use it however needed:

<PieChart (loaded)="loadedChart($event)"></PieChart>
import { PieChart } from '@nativescript-community/ui-chart';
import { PieData } from '@nativescript-community/ui-chart/data/PieData';
i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@balazshevesi
Comment options

Answer selected by balazshevesi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants