Asp.Net Charts - Increase Bar Spacing

Posted by Sharpcnet under ASP.NET on 10/15/2014 | Points: 10 | Views : 597 | Status : [Member] | Replies : 0
Finding it very hard to increase the space between the bars. Unable to find any solution that works in my case. Though the chart type is column, it shows up as a stacked column.

<asp:Chart ID="bcOperators" runat="server" Width="500" Height="300">                                                   
<asp:Series Name="Operator" ChartType="Column" IsValueShownAsLabel="true" />
<asp:ChartArea Name="ChartArea1">
<AxisX Interval="1" Title="Operators"></AxisX>
<AxisY Title="Count"></AxisY>

This did not work

bcOperators.Series["y"].BorderWidth = 1;
bcOperators.Series["y"].BorderColor = Color.White;

Please see the pic in attachment.


(No response found.)

Login to post response