The bar chart control renders a barchart with multiple series of values. This control is compatible with any browser which supports SVG. The control has four type of bar charts namely Column, StackedColumn, Bar and StackedBar.

Let’s see its initial configuration in a page with code and its output.

  1. <ajaxToolkit:BarChart ID="BarChart1" runat="server" ChartHeight="300" ChartWidth="450" ChartType="Column" ChartTitle="United States versus European Widget Production" CategoriesAxis="2007,2008,2009,2010,2011,2012" ChartTitleColor="#0E426C" CategoryAxisLineColor="#D08AD9" ValueAxisLineColor="#D08AD9" BaseLineColor="#A156AB">
  2. <Series>
  3. <ajaxToolkit:BarChartSeries Name="United States" BarColor="#6C1E83" Data="110, 189, 255, 95, 107, 140" />
  4. <ajaxToolkit:BarChartSeries Name="Europe" BarColor="#D08AD9" Data="49, 77, 95, 68, 70, 79" />
  5. </Series>
  6. </ajaxToolkit:BarChart>
Output

Output

BarChart Properties