Topic: Charts in angular 2 + typescript

Sivakumar Mutyala free asked 6 years ago

Added : declare var jQuery: any jQuery(function () { var option = { responsive: true, }; // Get the context of the canvas element we want to select var ctx = jQuery("#myChart").getContext('2d'); var myLineChart = new Chart(ctx).Line(data, option); //'Line' defines type of the chart. } Type script showing Chart as Cannot find name 'Chart'

Kamil Paciepnik free answered 6 years ago

Hi Sivakumar, a lot of users use MDB with Angular. However, we don't provide direct support for the moment. FAQ Regards

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No