how to set column/bar width in winrt column chart using xaml and c# and how to get value of each column

Feb 12, 2014 at 11:19 AM
how to set column/bar width in winrt column chart using xaml and c#

my xaml code is

<charts:Chart x:Name="chart" Title="My Account Detail" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0" Width="895" Height="548" Foreground="Black" FontSize="10"/ >


and i am adding column series from back end like

ColumnSeries columnchart = new ColumnSeries();
                    columnchart.DependentValuePath = "Percentage";
                    columnchart.IndependentValuePath = "TestCode";



                    columnchart.Tag = testPercentageListitem.TestID;
                   // columnchart.SelectionChanged += columnchart_SelectionChanged;

                   columnchart.Tapped+=columnchart_Tapped;

                    chart.Series.Add(columnchart);