Hi,
I am doing code in C# and want to display my column chart(Using System.Web.UI.DataVisualization.Charting) in the file attached with this question, means I want to display Y-Axis elements in grouping. I used iTextSharp for creating pdf and in that pdf I have created column chart.
I am binding column chart to my database, I gave here image for the refrence that means I want column chart in grouping of Y-Axis elements like attached image. I used below code in my project, but am not getting output exactly as given 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());
}
So, please help me
Thanks,