wpf set barchart graph width programmatically C#
- by Aizaz
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?