Browsed by
Category: Angularjs

How to handle Global Variable scope issue in JavaScript

How to handle Global Variable scope issue in JavaScript

One of the major problem with JavaScript is the leakage of scope and which leads to various issues as such variable name conflict. One of the best practice of JavaScript is to use to one global object variable and dynamically add variables to it or defines the variable as object property. This will restrict the variable scope and will help limit scope leakage. This way variables are restricted to one Global Variable scope.

Read More Read More

Doughnut Chart in AngularJS using ChartJS

Doughnut Chart in AngularJS using ChartJS

A set of data are better understood when represented graphically, there are various ways to represent data, out which Doughnut Chart is one of them. The chart can be implemented using AngularJS.

AngularJS uses Chart.js as a dependency to create given chart, which imparts responsiveness and provides various other flexibility, which we’ll see them going further. Other implementation of Chart are

  1. Pie Chart
  2. Bar Chart
  3. Horizontal Bar Chart
  4. Line Chart

Read More Read More

Horizontal Bar Chart in AngularJS using ChartJS

Horizontal Bar Chart in AngularJS using ChartJS

A set of data are better understood when represented graphically, there are various ways to represent data, out which Horizontal Bar Chart is one of them. The chart can be implemented using AngularJS.

AngularJS uses Chart.js as a dependency to create given chart, which imparts responsiveness and provides various other flexibility, which we’ll see them going further. Other implementation of Chart are

  1. Pie Chart
  2. Doughnut Chart
  3. Bar Chart
  4. Line Chart

Read More Read More

Bar Chart in AngularJS using ChartJS

Bar Chart in AngularJS using ChartJS

A set of data are better understood when represented graphically, there are various ways to represent data, out which Bar Chart is one of them. The chart can be implemented using AngularJS.

AngularJS uses Chart.js as a dependency to create given chart, which imparts responsiveness and provides various other flexibility, which we’ll see them going further. Other implementation of Chart are

  1. Pie Chart
  2. Doughnut Chart
  3. Horizontal Bar Chart
  4. Line Chart

Read More Read More