TypeScript is a new and evolving object oriented programming language developed and maintained by Microsoft. This language is compiled to common JavaScript. It supports and implies static typing which allows determining of the compatibility errors on the compilation stage. TypeScript is compatible with common JavaScript and this makes it possible to use common JavaScript libraries such as Perfect Widgets offering JavaScript gauges and other data visualization controls. The only trick is that it’s necessary to connect to .d.ts definition files for compatibility validation. Availability of the .d.ts file provides the ability to display IntelliSense tooltips for classes of the used library.
This simple Perfect Widgets TypeScript demo shows how to connect your data visualization project to the .d.ts file in order to use Perpetuum gauges as well as how to use Perfect Widgets library with TypeScript: how to add a gauge to the page and how to interact with it from code.
Online demo is available here:
http://perfectwidgets.com/Content/Samples/TypeScript/TypeScript.html
About Perpetuum Software:
Perpetuum Software LLC is a premier developer of .NET components and libraries for reporting, data analysis, and visualization intended for the creation of corporate applications in Windows Forms, ASP.NET, and Silverlight. Thousands of enterprises in more than 70 countries use Perpetuum Software products to build robust applications and use them across all the main industries: from retail to aerospace. The company stands as Microsoft Gold Certified Partner.