wpf set barchart graph width programmatically C#

Posted by Aizaz on Stack Overflow See other posts from Stack Overflow or by Aizaz
Published on 2009-11-18T06:57:10Z Indexed on 2010/05/07 20:28 UTC
Read the original article Hit count: 372

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about barchart