Hi All,
Am trying to create a stacked column chart, i dont know how can i create this chart using infragistics chart control. i tried this url(https://ko.infragistics.com/samples/aspnet/chart/stacked-area-chart ), in this am not able to find the data source, so that am not able to find any solution for creating the stacked column chart. please somebody help me, provide a sample application there i can give dynamic data source.
Thanks in advance.....
Devashis.
Here's an example of creating a stack column chart from a table:
DataTable dt = new DataTable();dt.Columns.Add("column1", typeof(double));dt.Columns.Add("column2", typeof(double));dt.Columns.Add("column3", typeof(double));dt.Rows.Add(new object[ {10, 5, 20 });dt.Rows.Add(new object[ {50, 10, 5 });dt.Rows.Add(new object[ {60, 30, 55 });dt.Rows.Add(new object[ {65, 30, 20 });ultraChart1.ChartType = ChartType.StackColumnChart;ultraChart1.Data.DataSource = dt;ultraChart1.Data.DataBind();
hello sir,
i need a sample code for Bar chart in vb.net
Dim dT As New Data.DataTable
dT.Columns.Add("Mearmiss", System.Type.GetType("System.Int32"))
dT.Columns.Add("Accident", System.Type.GetType("System.Int32"))
dT.Columns.Add("Fire", System.Type.GetType("System.Int32"))
dT.Rows.Add( "7", "6", "5")
dT.Rows.Add( "7", "5", "4")
the second and thrid column data only show in chart(Bar Chart)
pls help me to clear the issues
Thanks in advance!!!!!!!
dT.Columns.Add("Count", System.Type.GetType("System.String"))
dT.Rows.Add("3", "7", "6", "5")