Dear All,
please help me iam new ti this chart controls..iam unable to develop the charts..please help me with valid Examples.my requrement is i want show line chart with 3 lines having 3 values Ex:green line for Good ,value= 80, Yellow line value= 50 and Red line value= 30 like i have to show 3 lines please help hw to do it in Asp.net and c#.net
Help me with code
Thanking you..
Here's an example:
DataTable table = new DataTable();table.Columns.Add("Label", typeof(string));table.Columns.Add("Value", typeof(double));table.Rows.Add(new object[] { "Green", 80 });table.Rows.Add(new object[] { "Yellow", 50 });table.Rows.Add(new object[] { "Red", 30 });
ultraChart1.ChartType = ChartType.LineChart;
Color[] colors = new Color[] { Color.Green, Color.Yellow, Color.Red };ultraChart1.ColorModel.ModelStyle = ColorModels.CustomLinear;ultraChart1.ColorModel.CustomPalette = colors;
ultraChart1.Data.ZeroAligned = true;ultraChart1.Data.DataSource = table;ultraChart1.Data.DataBind();
Hi,
I am new to these tools.
I have tried the above sample but I am not able to see the chart. My form is empty.
Is there any specific proerty that I need to set to see the Line Chart on the form?
Thanks