The budgets of the IPL franchises for the auction

How much money the IPL franchises have during the auction

ESPNcricinfo staff07-Jan-2011

Kolkata Knight Riders 8.575
Royal Challengers Bangalore 8.64
Mumbai Indians 8.52
Chennai Super Kings 8.665
Deccan Chargers 6.875
Delhi Daredevils 8.25
Rajasthan Royals 8.195
Kochi 7.79
Pune Warriors 8.07
Kings XI Punjab 6.945

var isIE = false;
window.onload = function () {
if(navigator.userAgent.indexOf(‘MSIE’) != -1 && navigator.userAgent.indexOf(‘MSIE 9.0’) == -1){
isIE = true;
}
var r = Raphael(“auctionChart”);
r.g.txtattr.font = “12px Tahoma”;
var teams = []; var used = []; var limit = [];
$(‘#chartData tr’).each(function(k,v){
teams.push($($(‘td’, this)[0]).text());
used.push(parseFloat($($(‘td’, this)[1]).text()));
limit.push(9-parseFloat($($(‘td’, this)[1]).text()));
});
r.g.hbarchart(180, 20, 420, 250, [padArray(used),padArray(limit)], {stacked: true, colors:[“90-#c31811-#ef3a32”, “90-#0559a4-#0068C4”], stroke:[“#ef3a32”, “#0068C4”]});
var n = popAlt(linehPaths[linehPaths.length-1]);
addTeam(r,n,teams);
var m = linehPaths[linehPaths.length-1];
var axVals = pushVals(used);
addVals(r,m,axVals);
var txatr = {‘font-size’:’10px’};
r.g.text(180, 269, ‘0%’).attr(txatr);
r.g.text(290, 269, ‘25%’).attr(txatr);
r.g.text(400, 269, ‘50%’).attr(txatr);
r.g.text(505, 269, ‘75%’).attr(txatr);
r.g.text(600, 269, ‘100%’).attr(txatr);
r.rect(180, 280, 10, 10).attr({‘fill’:’#ef3a32′,’stroke’:’#ef3a32′});
r.g.text(200, 285, “Used Amount ($MN)”).attr({‘text-anchor’:’start’,’font-weight’:’bold’,’font-family’:’tahoma’,’font-size’:’11px’});
r.rect(350, 280, 10, 10).attr({‘fill’:’#0068C4′,’stroke’:’#0068C4′});
r.g.text(370, 285, “Available Amount ($MN)”).attr({‘text-anchor’:’start’,’font-weight’:’bold’,’font-family’:’tahoma’,’font-size’:’11px’});
};
function addTeam(r,n,teams){
for(var i = 0; i< n.length; i++){
if(!isIE){
var y = n[i][1][2] + ((n[i][0][2]-n[i][1][2])/2)
r.g.text(165, y, teams[i]).attr({'text-anchor':'end'});
}else{
var y = parseInt(n[i][2])-10;
r.g.text(165, y, teams[i]).attr({'text-anchor':'end'});
}
}
}
function addVals(r,m,axVals){
for(var i = 0; i= 590) ? ‘#000’ : ‘#fff’ ;
var x = (m[i-1][2][1]+(600-m[i-1][2][1])/2 >= 590) ? 600 : m[i-1][2][1]+(600-m[i-1][2][1])/2 ;
r.g.text(x+7.7, y, Math.round(axVals[i]*100)/100).attr({‘text-anchor’:’end’,’font-weight’:’bold’,’fill’:fill,’font-family’:’tahoma’,’font-size’:’11px’});
}else{
r.g.text((x-180)/2 + 180, y, Math.round(axVals[i]*100)/100).attr({‘text-anchor’:’start’,’font-weight’:’bold’,’fill’:’white’,’font-family’:’tahoma’,’font-size’:’11px’});
}
}else{
if(i%2 != 0){
var x = 602;
var y = parseInt(m[i][2])-10;
r.g.text(x, y, axVals[i]).attr({‘text-anchor’:’start’,’font-weight’:’bold’,’fill’:’#000′,’font-family’:’tahoma’,’font-size’:’11px’});
}else{
var x = 180+parseInt(m[i][6]);
var x = (parseInt(m[i][6])/2) + 180;
var y = parseInt(m[i][2])-10;
r.g.text(x, y, axVals[i]).attr({‘text-anchor’:’start’,’font-weight’:’bold’,’fill’:’white’,’font-family’:’tahoma’,’font-size’:’11px’});
}
}
}
}
function padArray(a){
var x = [];
for(var i=0; i

#auctionChart{
width: 630px;
height: 300px;
position: relative;
}
#chartData{
display:none;
}
Note: Rajasthan Royals have 2m$ less than the other franchises to start with due to their protracted legal wrangle with the IPL. Details here.

You may also like...