The BarChartSeries object represents the data being plotted for the Bar chart. You can have one or more BarChartSeries on the C1BarChart. Each BarChartSeries is represented in a different color. The BarChartSeries can be added in design view through the BarChartSeries Collection Editor, in source view through the BarChartSeries element, or programmatically through the BarChartSeries object.
Adding a BarChartSeries in Design View:
Adding a BarChartSeries in Source View:
To write code in Source View
<SeriesList>
<cc1:BarChartSeries Label="West" LegendEntry="true">
<Data>
<X>
<Values>
<cc1:ChartXDataStringValue="Desktops"/>
<cc1:ChartXDataStringValue="Notebooks"/>
<cc1:ChartXData StringValue="AIO"/>
<cc1:ChartXDataStringValue="Tablets"/>
<cc1:ChartXDataStringValue="Phones"/>
</Values>
</X>
<Y>
<Values>
<cc1:ChartYData DoubleValue="5"/>
<cc1:ChartYData DoubleValue="3"/>
<cc1:ChartYData DoubleValue="4"/>
<cc1:ChartYData DoubleValue="7"/>
<cc1:ChartYData DoubleValue="2"/>
</Values>
</Y>
</Data>
<:/cc1:BarChartSeries>