How to add text inside the doughnut chart using Chart.js

There are different JavaScript charting frameworks available. The chart.js is one of them. The chart.js is the canvas based and has the Great rendering performance across all modern browsers (IE9+). It provides 8 type of different chart style you can find all the help and documentation on the chartJS documentation. Continue reading How to add text inside the doughnut chart using Chart.js

How to store and retrieve multiple Boolean values using single integer value

There are situations when we need to store multiple Boolean values related to the properties of an object in our project. For example, I am going to create a project related to a client having multiple services to offer to the end user. To be more specific say we have a telecom operator having multiple services like SMS, Calling , Roaming, internet packs to be offered to their end user. Now for every customer record we need to store the information which services the user is having at any point of time. Here we are just covering the Boolean information like whether user is having SMS pack or not(instead of details of services) and similar information for other packs. Continue reading How to store and retrieve multiple Boolean values using single integer value

How to hide .js and .map files from project explorer in Visual Studio Code

Generally, you would not want to see the compiled .js file and the corresponding .js.map files when you are using the Typescript. However you can use tsconfig.json to output the js and map files to a separate folder, it makes it easier to maintain. But if you don’t use a separate folder, you can use settings.json to hide the js and map files in the project folder explorer. Continue reading How to hide .js and .map files from project explorer in Visual Studio Code