MCPcopy Index your code
hub / github.com/angular-google-chart/angular-google-chart / apply

Function apply

ng-google-chart.js:36–47  ·  view source on GitHub ↗
(tFormats, dataTable)

Source from the content-addressed store, hash-verified

34
35 // apply formats of type to datatable
36 function apply(tFormats, dataTable){
37 var i, formatType;
38 for (formatType in tFormats){
39 if (tFormats.hasOwnProperty(formatType)){
40 for (i = 0; i < self.iFormats[formatType].length; i++) {
41 if (tFormats[formatType][i].columnNum < dataTable.getNumberOfColumns()) {
42 self.iFormats[formatType][i].format(dataTable, tFormats[formatType][i].columnNum);
43 }
44 }
45 }
46 }
47 }
48
49 function applyFormat(formatType, FormatClass, tFormats){
50 var i;

Callers 1

applyFormatsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected