Personal tools

Template:CategorizedChart: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 21: Line 21:
}
}
var series = { data: []};
var series = { data: []};
var categories ={catalog: {}, score:[]};
var categories ={catalog: [], score:[]};


var tmp_data = [];
var tmp_data = [];
Line 34: Line 34:
var distincs = getDistinctElements(categories_array);
var distincs = getDistinctElements(categories_array);
for(var i=0, l=distincs.length; i<l; i++){
for(var i=0, l=distincs.length; i<l; i++){
categories.catalog[distincs[i]];
var myMap = {};
categories.score[distincs[i]]
myMap[distincs[i]] = [];
categories.catalog[i]=myMap;
categories.score[i]=myMap
}
}



Revision as of 17:32, 16 August 2013