WPF Chart - how to set origin to (0, 0)

Mar 30, 2011 at 7:00 PM
Edited Mar 30, 2011 at 8:24 PM

I notice that the samples in the WPF Visualization demos don't all have their origin at (0,0) - sometimes one axis is truncated and sometimes both. I have a stacked bar chart using code taken from the samples and the vertical axis doesn't start at 0. How can I enforce that the axes start at 0? 


Finally found it:

charting:Chart x:Name="WorkChart" Title="Work Assignment for the Year 2010" Margin="18,0,18,10" VerticalAlignment="Bottom" Height="288" Background="#FFF4EFEF" BorderBrush="#FFFAF5F5" Foreground="#FF4E74C3" >
    <charting:ColumnSeries Title="Work1" ItemsSource="{StaticResource WorkAssignment}"
                            IndependentValueBinding="{Binding Month}"
                            DependentValueBinding="{Binding Work1}"  >

    <charting:LinearAxis Title="Jobs" Orientation="Vertical" Minimum="0" Interval="0.2"/>