Skip to content
prashant1rana edited this page Aug 24, 2012 · 2 revisions

Configuration for JQWCloud:-

$(document).ready(function() { $("#wordCloud").jQWCloud({ words: [ {word: 'Rajni', weight: 40}, {word: 'Mayank', weight: 39},{word: 'Rajesh', weight: 39, color: 'green',font_family: 'Arial', word_class: 'RajeshClass'}, {word: 'Rahul', weight: 37},{word: 'Kuldeep', weight: 36},{word: 'Monika', weight: 35}, {word: 'Preeti', weight: 35},{word: 'Geetanjal', weight: 34},{word: 'Manali', weight: 33}, {word: 'Praveen', weight: 33},{word: 'Kapil', weight: 32},{word: 'Prashant', weight: 31}, {word: 'MLA', weight: 30},{word: 'Ravi', weight: 29},{word: 'Rohit', weight: 29}, {word: 'Parul', weight: 29},{word: 'Pummy', weight: 29},{word: 'Manjot', weight: 28}, {word: 'Nishant', weight: 28},{word: 'Neha', weight: 27},{word: 'Megha', weight: 27}, {word: 'Mohammad', weight: 24},{word: 'Khushboo', weight: 24},{word: 'Mayur', weight: 22}, {word: 'AB', weight: 21}, {word: 'Gurpree', weight: 21} ,{word: 'Rajni', weight: 20}, {word: 'Mayank', weight: 19},{word: 'Rajesh', weight: 19},{word: 'Rahul', weight: 17},
{word: 'Kuldeep', weight: 16},{word: 'Monika', weight: 15},{word: 'Preeti', weight: 15}, {word: 'Geetanjal', weight: 14},{word: 'Manali', weight: 13},{word: 'Praveen', weight: 13}, {word: 'Kapil', weight: 12},{word: 'Prashant', weight: 11},{word: 'MLA', weight: 10}, {word: 'Ravi', weight: 9},{word: 'Rohit', weight: 9},{word: 'Parul', weight: 9}, {word: 'Pummy', weight: 9},{word: 'Manjot', weight: 8},{word: 'Nishant', weight: 8}, {word: 'Neha', weight: 7},{word: 'Megha', weight: 7},{word: 'Mohammad', weight: 4}, {word: 'Khushboo', weight: 4},{word: 'Mayur', weight: 2},{word: 'AB', weight: 1}, {word: 'Gurpree', weight: 1}
], cloud_color: 'yellow',
minWeight: 1, maxWeight: 40, minFont: 1, maxFont: 10, fontOffset: 2, cloud_font_family: 'Arial', verticalEnabled: false, word_common_classes: 'WordClass', word_click: function(){ $(this).css("background-color","green"); },
beforeCloudRender: function(){ date1=new Date();
}, afterCloudRender: function(){ var date2=new Date(); console.log("Cloud Completed in "+(date2.getTime()-date1.getTime()) +" milliseconds"); } });

});

Clone this wiki locally