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

30,896

You can find example usages of chart.d.ts in the form of a tests file right next to the definition : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/chart.js/chart.js-tests.ts

Share:
30,896
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    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.