Hi Naveen,
You can take a look at the range series, which allows you to draw rectangles with arbitrary bounds - the following code for example creates a bar chart, where the second bar has a slightly bigger width:
NChart chart = nChartControl1.Charts[0];
NRangeSeries rangeBar = new NRangeSeries();
rangeBar.Values.Add(0);
rangeBar.Values.Add(0);
rangeBar.Values.Add(0);
rangeBar.Y2Values.Add(10);
rangeBar.Y2Values.Add(20);
rangeBar.Y2Values.Add(30);
rangeBar.UseXValues = true;
for (int i = 0; i < rangeBar.Y2Values.Count; i++)
{
if (i == 1)
{
rangeBar.XValues.Add(i - 0.3);
rangeBar.X2Values.Add(i + 0.3);
}
else
{
rangeBar.XValues.Add(i - 0.2);
rangeBar.X2Values.Add(i + 0.2);
}
}
chart.Series.Add(rangeBar);
Hope this helps - let us know if you have any questions...
Best Regards,
Nevron Support Team