Hi,
I need to create a chart like equalizers in audio system using column chart.
I have data as follows
in X-axis 1hour, 2nd hour, 3rd hour....24hr.
in Y-axis tranisitions 10,50,60,65,80.
Could any one please help me out how do i create this one.
Cheers.
This looks like a regular column chart. The only thing is that you'd have to style the columns to look like the ones in your image.The code I gave you previously will generate a similar column chart without the styling. You will need to create an image to apply to the columns. Once you have a proper image, to apply the styles, you can set chart.ColorModel.ModelStyle property to CustomSkin, then add a PaintElement to the ColorModel.Skin.PEs collection. On this new PaintElement set ElementType to Image and assign your image file to FillImage property.Check out this link for more information on using a custom skin:http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Custom_Skins_and_Paint_Elements.html
Hi Max,
Please see the image now and could you provide some solution now.
I'm unable to view your image. Please use the options tab and click "Add/Update" button to attach an image.
We need to display the chart as shown in the attachment.
Sounds like you need a simple column chart.
DataTable dt = new DataTable();dt.Columns.Add("label", typeof(string));dt.Columns.Add("value", typeof(double));dt.Rows.Add(new object[ { "hour 1", 10 });dt.Rows.Add(new object[ { "hour 2", 50 });dt.Rows.Add(new object[ { "hour 3", 60 });dt.Rows.Add(new object[ { "hour 4", 65 });ultraChart1.ChartType = ChartType.ColumnChart;ultraChart1.Data.DataSource = dt;ultraChart1.Data.DataBind();