// Create an BarChart instance
var chart = new BarChart

// Bar chart caption (title)
// Todd, update the years here
chart.setCaption("<p><b><u>2010-2011 Profit Distributions</u></b></p>","Top")

// Todd, update bar chart amounts here
chart.addValue("NC Taxes<br>",687711.19,"yellow")
chart.addValue("Local Govt./Alcohol Rehab.<br>",7647.57,"red")
chart.addValue("Alcohol Education<br>",70.00,"green")
chart.addValue("Law Enforcement<br>",50.00,"navy")
chart.addValue("Bailment/Surcharge<br>",31970.95,"orange")
chart.addValue("Mixed Beverage<br>",2581.21,"purple")
chart.addValue("Town of Franklin<br>",70000.00,"blue")

// Specify additional parameters

// Size of the bars
chart.barWidth=200
chart.barHeight=50

// Align bars to the left or right
chart.barHOrientation = "right"

// Where to display the labels
chart.formatLabel("right")

// Set the units
chart.unitLabel = "$"

// Set the background color
chart.bgColor = "ffffff"

// Generate the HTML
document.write(chart.draw())
