<UserControl.Resources> <!-- Styles for Axis --> <Style x:Key="rscMajorGridLineStyle" TargetType="ig:Mark"> <Setter Property="Width" Value="10"/> <Setter Property="Fill" Value="Gray"/> <Setter Property="Stroke" Value="Gray"/> <Setter Property="StrokeThickness" Value="1"/> <Setter Property="Unit" Value="500"/> </Style> <Style x:Key="rscMinorGridLineStyle" TargetType="ig:Mark"> <Setter Property="Width" Value="10"/> <Setter Property="Fill" Value="Silver"/> <Setter Property="Stroke" Value="Silver"/> <Setter Property="StrokeThickness" Value="1"/> <Setter Property="Unit" Value="100"/> </Style> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White" > <ig:XamTimeline x:Name="xamTimeline" Width="1000" Height="480" Margin="25"> <!-- Set Axis properties --> <ig:XamTimeline.Axis> <ig:NumericTimeAxis Minimum="-3000" Maximum="2300" AutoRange=" Unit="500" ShowLabels="True" ShowMajorGridLines="True" ShowMinorGridLines="True" MajorGridLineStyle="{StaticResource rscMajorGridLineStyle}" MinorGridLineStyle="{StaticResource rscMinorGridLineStyle}" /> </ig:XamTimeline.Axis> <!-- TODO: Add Numeric/Date Series ... --> </ig:XamTimeline> </Grid>