Im doing code in C# and want to display my column chart(Using System.Web.UI.DataVisualization.Charting) in below format , means want to display Y -axis elements in grouping.
I used itextsharp for creating pdf and in that pdf i have created column chart.
so plz help me.

Suthish NairPosted Aug 25, 2011, 12:26 PM
dev 0Posted Aug 25, 2011, 1:07 AM
I used below code in my project, but am not getting output exactly as above image.
chart.Series[0].ChartType = SeriesChartType.Column;
List<PriceList> lst = new List<PriceList>();
lst = myclass.GetPrice(id);
for ( int i = 0; i < lst.Count; i++)
{
chart.Series[0].Points.AddXY(lst[i].vchValue.ToString(), lst[i].Percentage);
chart.Series[0].Points.AddXY(lst[i].vchValue.ToString(), lst[i].mValue.ToString());
}
Suthish NairPosted Aug 25, 2011, 12:18 AM