<UserControl.Resources> <Style x:Key="rscEventTitleFormatStyle" TargetType="ig:EventTitle"> <Setter Property="PointStringFormat" Value="{}{0}" /> <Setter Property="SpanStringFormat" Value="{}[Years {0} - {1}]" /> </Style> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="White"> <ig:XamTimeline x:Name="xamTimeline" Width="1000" Height="400" Margin="25"> <!-- Set Axis properties --> <ig:XamTimeline.Axis> <ig:NumericTimeAxis Minimum="-3200" Maximum="2600" AutoRange=" Unit="400" ShowLabels="True" ShowThumb="True" ShowMajorTickMarks="True"/> </ig:XamTimeline.Axis> <!-- Set Data in Timeline Series --> <ig:XamTimeline.Series> <!-- Historic Events --> <ig:NumericTimeSeries Title="Historic Empires" Fill="Red" Position="TopOrLeft" EventTitleStyle="{StaticResource rscEventTitleFormatStyle}" > <!--TODO: Add Numeric Time Entries --> <ig:NumericTimeSeries.Entries> <ig:NumericTimeEntry Time="-2575" Title="Pyramid"/> <ig:NumericTimeEntry Time="250" Title="Mayan Empire" Duration="650" Details="Duration 250 AD – 900 AD"/> <ig:NumericTimeEntry Time="600" Title="Chichen Itza"/> <ig:NumericTimeEntry Time="-2650" Title="Egypt Empire" Duration="2000" Details="Duration 2650 BC – 650 BC"/> <ig:NumericTimeEntry Time="1402" Title="Spanish Empire" Duration="311" Details="Duration 1402 BC – 1713 BC"/> </ig:NumericTimeSeries.Entries> </ig:NumericTimeSeries> </ig:XamTimeline.Series> </ig:XamTimeline> </Grid>