views:

282

answers:

1

I have a chart and I am adding ColumnSeries and chart legend etc but how to programmatically set its bar width... ???

    
|       |------|
|       |      |
|       |set   |
|       |this  |
|       |width |
|       |      |
|       |      |
|       |      |BarChart Graph
|_______|______|_______________________________
<charting:Chart x:Name="mainChart" Grid.Row="0" Margin="0,8,8,8"  Title="Protocols Usage"  Height="Auto" Width="Auto" LegendTitle="Protocols" Background="#FFE5F1FE">

                            </charting:Chart>

legend and others things produced on the fly... How to set width of ColumnSeries from C# code?

A: 

any solution?? .... i have the same question ...

pskk
I don't go for the solution but there is a solution available. create chart with dataSeries and there you can set bar width.
Aizaz
sorry for late response dear. my apologies
Aizaz