Hi
I want to create monthly , quaterly and yearly chart for sale
Any sample please ?
Sunil,
Let us know if you need further assistance with this.
Thanks
Hi,
Thanks for reply
i am having uset table which is having user details
which month i have max number of user
so my x axis values is the user and y xais value is month
similar way i want to create a chart for year Here my x axis values is the user and y xais value is Year
Thanks in advance
You can show this type of data in a bar chart:DataTable dt = new DataTable();dt.Columns.Add("year", typeof(string));dt.Columns.Add("numUsers", typeof(int));dt.Rows.Add(new object[] { "2005", 100 });dt.Rows.Add(new object[] { "2006", 160 });dt.Rows.Add(new object[] { "2007", 250 });dt.Rows.Add(new object[] { "2008", 500 });dt.Rows.Add(new object[] { "2009", 860 });dt.Rows.Add(new object[] { "2010", 600 });
ultraChart1.Data.DataSource = dt;ultraChart1.ChartType = ChartType.BarChart;ultraChart1.Data.DataBind();