Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to work out Chartjs using TypeScript with Chartjs.definitelyTyped from github

I want to use Chartjs(chartjs.org) as my charting tool along with AngularJS using TypeScript. I have installed DefinitelyTyped for Chartjs from GitHub to incorporate creation of Chartjs charts in my TypeScript written controller. I can't find any related questions on doing this thing.

I just need to know how we populate data to our charts using DefinitelyTyped.

like image 752
amcpanaligan Avatar asked Feb 11 '23 08:02

amcpanaligan


1 Answers

You can find example usages of chart.d.ts in the form of a tests file right next to the definition in the DefinitelyTyped repo.

like image 170
basarat Avatar answered Feb 12 '23 21:02

basarat